// 获取jdk发版本信息 String arch = System.getProperty("sun.arch.data.model"); System.out.println("arch==" + arch);