diff --git a/src/java/org/web3d/util/Xj3dVersionInformation.java b/src/java/org/web3d/util/Xj3dVersionInformation.java index 8a92a81bbba6e2729a491465c3e2fb460caa41b8..2d7d309d0f3200dea974c9a623d228c6893fdba9 100644 --- a/src/java/org/web3d/util/Xj3dVersionInformation.java +++ b/src/java/org/web3d/util/Xj3dVersionInformation.java @@ -73,8 +73,9 @@ public class Xj3dVersionInformation { public static String JOGL_VERSION; // https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html - public static final String OS_JAVA_VERSION_MESSAGE = " Operating system: " + System.getProperty("os.name") + SP + System.getProperty("os.version") + "\n" + - " Java environment: " + System.getProperty("java.vendor") + SP + JAVA_VERSION; + // https://stackoverflow.com/questions/5103121/how-to-find-the-jvm-version-from-a-program + public static final String OS_JAVA_VERSION_MESSAGE = " Operating system: " + System.getProperty("os.name") + SP + System.getProperty("os.version") + "\n" + + " Java environment: " + System.getProperty("java.runtime.name") + SP + JAVA_VERSION; /** * The release version, must first be initialized by class constructor. Milestone format will be * <code>M<i>MainVersion</i>_<i>DevRelease#</i></code>