在eclipse.ini文件中加入这一句话:
-vm D:/Java/jdk/jdk1.8/jre/bin/server/jvm.dll
Eclipse指定jdk启动
原文:https://www.cnblogs.com/rongyao/p/9276127.html