原文地址:http://jatula.iteye.com/blog/315432 System.out.println("你的电脑cpu数量为:"+Runtime.getRuntime().availableProcessors());