1. eclipse打不开,
报错:faild to find a main class in org.eclipse.equinox.launcher_1.4.0.v20161219-1356
记事本打开eclipse中的eclipse.ini:
jdk的没找见@@?
–launcher.defaultAction
openFile
后面添加
-vm
D:\Java\jdk1.8.0_171\bin\javaw.exe
2. cmd 运行java:error... ’has value ‘1.4’,but’1.8’ is required’
注册表 :HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
中Java Development kit及Java Runtime Environment中的CurrentVersion值为应该为1.8,而非1.4