打開eclipse 提示「rg.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annota」

由於我裝的是jdk9,而後打開eclipse就報錯了"an error has occurred see he log file"。其實這是jdk9的問題,須要進入eclipse文件夾->打開eclipse.ini配置文件,Windows用戶直接在文件末尾添加一行內容:「--add-modules=ALL-SYSTEM」,Linux用戶須要使用root用戶權限才能夠更改。eclipse
相關文章
相關標籤/搜索