如何查看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");
	}
}

  

原文地址:https://www.cnblogs.com/ityouknow/p/2816498.html