Function getJavaVersionSync

  • Get the version of the Java VM in use. Sync version.

    This is equal to the following java implementation:

    public static String getJavaVersion() {
        return System.getProperty("java.version");
    }
    

    Returns string

    the java version string

    getJavaVersion