### Determine Java Version

To determine the Java Version installed, few options to determine.
Java JRE Version
Option 1 using jFX GetSystemProperty
Log("Java JRE Version (using B4J jFX): " & GetSystemProperty("java.version", "default"))
Option 2 using a JavaObject
Dim JO As JavaObject
JO.InitializeStatic("java.lang.System")
Log("Java JRE Version (using B4J JavaObject): " & JO.RunMethod("getProperty", Array As Object("java.version")))
More to find about Java system properties here:
http://docs.oracle.com/javase/8/docs/api/java/lang/System.html
Run Java with parameter -version from the JRE Bin Folder
c:\Program Files (x86)\Java\jre7\bin>java -version
OR if the JRE Folder is added to the PATH:
java -version
Java JDK Version
Run Java with parameter -version from the JDK Bin Folder
c:\Program Files (x86)\Java\jdk7\bin>java -version
OR if the JDK Folder is added to the PATH:
java -version
Output
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

Changed: , Category: Application, File: T6C159M1155.htm, ID: 1155