Use java.specification.version for version check
Use java.specification.version for version check

java.version on some platforms differs from what Puppetserver's project file tries to parse.
java.specification.version is however guaranteed to match the expected format.

See https://github.com/puppetlabs/puppetserver/pull/2539 for the same fix.
puppetlabs/jvm-ssl-utils,puppetlabs/jvm-ssl-utils