Created
October 9, 2012 19:11
-
-
Save maxrp/3860783 to your computer and use it in GitHub Desktop.
The simplest possible way to determine the JVM architecture, AFAIK
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
class CheckArch { | |
public static void main(String[] args) { | |
String arch = System.getProperty("os.arch"); | |
System.out.println("Architecture: " + arch); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment