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

  

posted @ 2012-12-13 15:46  纯洁的微笑  阅读(3937)  评论(0编辑  收藏  举报