How to get JRE or JDK version programmatically?
843798May 25 2007 — edited May 25 2007Hi,
I'm using eclipse 3.1 and want to get the JRE or JDK version programmatically
I wrote
System.getProperties();
System.getProperty("java.version");
It's not giving any errors, it's working fine but it prints empty values
does any one has any idea about this? and how to do it in another way?