下载了百度的eclipse,导入springmvc_demo项目,eclipse报错
“A full JDK (not just JRE) is required. Check the JRE system library in the project properties page.”
需要一下操作:
1)设置系统安装的JDK目录set your JDK as a default Java environment in eclipse (default installed JRE)
Open eclipse. Click on ‘Window’ -> ‘Preferences’ -> ‘Java’ -> ‘Installed JREs’.
If you can’t find any JDK on the list -> click ‘Add’ -> ‘Standard VM’ -> set all paths and click ‘Finish’.
After that – check this JDK on the list of installed JREs and click ‘OK’.
(2)增加JDK路径到eclipse.ini文件中add path to your SDK in eclipse.ini