在eclipse.ini添加jdk -vm E:\java\jdk1.8.0_201\bin\javaw.exe 如果还出现问题 Eclipse 里面project->Build Automatically上的对勾去掉就OK了