Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.specification.version

807569Aug 7 2006 — edited Aug 8 2006
Hi, 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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2006
Added on Aug 7 2006
1 comment
272 views