JavaVMVersion property to get the version number of the Java virtual machine(s) loaded in the specified application process.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following objects:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The property has the following parameter:
Specifies the index (zero-based) of the loaded virtual machine. The total number of loaded virtual machines is specified by the
JavaVMCount property. In most cases, only one virtual machine is loaded into the process, so you will need to use
JavaVMVersion(0) to get its version.
A string holding the version number of the specified Java virtual machine.
The property is available only if the Java Application Support plugin is installed.
The property is added only to processes of Java applications.
If the tested application is launched with the
-verbose:class command-line argument, the
JavaVMVersion property returns an error. For more information about the issue and workarounds, see Troubleshooting Java Applications