Functions

javaVersion

Supported By

Syntax

the javaVersion

javaVersion ()

Example

put the javaVersion

Description

The javaVersion function returns the version of the Java runtime environment. You might use this to determine whether a script will run correctly under that version of the runtime environment.

Note

OpenXION gets the value of this function from the java.version system property.

Security

To use this function, OpenXION's security settings must allow the SYSTEM_INFO security key. If the required security key is denied, a script error will be triggered.