Java Class

No description available.

Constructors

public Java( )

Methods

getVersion( ) returns int
Returns the version number of the JVM. Before Java 9, Java releases had a "1." prefix (e.g. "1.8"). This method will return the major release without the "1." prefix (e.g. 5, 6, 7, 8, 9, 10, ..., 17, etc). Returns a -1 if the version could not be determined for whatever reason.