如何查看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/archive/2012/12/13/2816498.html

你可能感兴趣的:(java,嵌入式)