Created
November 3, 2015 22:32
-
-
Save Sciss/fcf970ab6a55ca1b34da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def vmVersion(): String = { | |
| val name = sys.props.getOrElse("java.vm.name" , "???") | |
| val version = sys.props.getOrElse("java.vm.version", "???") | |
| val info = sys.props.getOrElse("java.vm.info" , "???") | |
| s"$name (build $version, $info)" | |
| } | |
| def jreVersion(): String = { | |
| val name = sys.props.getOrElse("java.runtime.name" , "???") | |
| val version = sys.props.getOrElse("java.runtime.version", "???") | |
| s"$name (build $version)" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment