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

public String version ( ) { return System . getProperty ( "java.runtime.version" ) ; }
returns the version of the currently - running jvm .
