天天看點

eclipse 4.7 oxygen與jdk 9出現Target is not a JDK root問題解決

2017-09-25 今天走了一邊TM竟然成功了。

這玩意兒,沒弄好的朋友等oxygen打包好的新版本好了,太麻煩了。(看了一下Help-About,eclipse版本變成4.7.1v20170922版本)

eclipse 4.7 oxygen與jdk 9出現Target is not a JDK root問題解決
eclipse 4.7 oxygen與jdk 9出現Target is not a JDK root問題解決

 ---- ----

2017-09-22 TM挂了代理更新安裝成功了,還是沒有解決。go on...

有解決朋友留言吱一聲。

試用新版本eclipse 4.7 oxygen與jdk 9 出現“Target is not a JDK root. System library was not found"”

Eclipse - Help - Install 輸入以下連結:

http://download.eclipse.org/eclipse/updates/4.7-U-builds/

注意把“Group items by category”取消勾選後,在清單裡勾選“eclipse sdk”做更新。

eclipse 4.7 oxygen與jdk 9出現Target is not a JDK root問題解決

另外eclipse 4.7 oxygen無法啟動的話,日志裡出現NoClassDefFoundError * Annation 等等的東西,注意在eclipse.ini追加參數“--add-modules=java.se.ee”

參考連結:

https://issues.jboss.org/browse/JBIDE-22417?_sscc=t

https://marketplace.eclipse.org/content/java-9-support-beta-oxygen

https://bugs.eclipse.org/bugs/show_bug.cgi?id=494481

繼續閱讀