M
Mickey Segal
The simple answer used to be to check java.version or java.vm.version, but
the current JRE 1.6.0_05 reports both these values as 10.0-b19. I filed a
bug on similar behavior in JRE 1.7 (soon to appear at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6674346) but was
surprised to find that the problem extends back to JRE 1.6 as well.
How do the Java testers at http://www.java.com/en/download/help/testvm.xml
and http://www.javatester.org/version.html get the right answer despite this
bug?
the current JRE 1.6.0_05 reports both these values as 10.0-b19. I filed a
bug on similar behavior in JRE 1.7 (soon to appear at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6674346) but was
surprised to find that the problem extends back to JRE 1.6 as well.
How do the Java testers at http://www.java.com/en/download/help/testvm.xml
and http://www.javatester.org/version.html get the right answer despite this
bug?