如何查看jdk是32位(x86)还是64(x64)位

如何查看jdk是32位(x86)还是64(x64)位

public class test {
	public static void main(String[] args) {
		 String arch = System.getProperty("sun.arch.data.model");   
		  System.out.println(arch+"-bit");
	}
}

  

你可能感兴趣的:(如何查看jdk是32位(x86)还是64(x64)位)