打开eclipse下的Run Configuration... 设置JRE为Jdk下的JRE。 转载自:http://blog.csdn.net/lisq037/article/details/16885627