java.specification.version
807569Aug 7 2006 — edited Aug 8 2006Hi, Is there a format defined for the java.specification.version system property? I couldn't find a list of the specification numbers and so I'm wondering if it will it always be of the form 1.3, 1.4, 1.5, etc.? The other properties such as java.version and java.vm.version include minor versions and build numbers.
I am trying to detect if the JRE version is 1.4 and I know I can just do a beginsWith(1.4) but I'd like to understand if the property value is predictable across JREs (vendor/version).
Give me a link if you know its mentioned somewhere. I couldn't find anything more than what is mentioned in the java.lang.System API doc.
Thanks!