Try using these:
System.out.println(System.getProperty("java.vm.version"));
System.out.println(System.getProperty("java.runtime.name"));
System.out.println(System.getProperty("java.vm.name"));
You might also like System#getProperties()
:
System.getProperties().list(System.out);
which will list all the current System properties, to System.out
.