Hi, In Sun's java documentation, there's a list of System Properties that (supposedly) are available from the JVM. Some require security certification. I am specifically interested in reading the JVM version. So far, I've been able to access a boatload of 'secure' properties using a signed JAR under IE5.5. But the one property I'm interested in - java.vm.specification.version - returns null. I suppose this is an example of Microsoft's variance from Sun's standards, but if anyone knows how this can be done, I'd love to see it. Thanks,
posted 17 years ago
Just to let everyone know... The JVM version, on Windows systems anyway, can be found in some zipped classfiles located in %winhome%\java\packages. You'll have to write an iterator to go through the zipfiles and find the entry "version.txt" and then open the entry and read the first few lines to actually get the version number. At least, that's the solution I'm going with. If anyone else comes up with something cleaner, I'd love to see it.