Neon: how to run on jdk9?

后端 未结 11 1205
后悔当初
后悔当初 2020-11-27 07:00

Just started playing with jdk9 - and kind-of stuck right at the beginning:

  • downloaded and extracted eclipse-java-neon-m4a-win32
  • installed java 9 supp
11条回答
  •  攒了一身酷
    2020-11-27 07:26

    I had the same issue. The NoClassDefFoundError shows when you select to build/compile your project with Java 9 JDK. Eclipse is unable to find a required jar file in root JDK folder, so it fails to start completely. After installing the Java 9 support plugin from the marketplace you may be able to start Eclipse, but still you will see a lot of errors and won't be able to compile a single project. The solution (for now) is to switch to Java 9 JRE in "Installed JREs" under "Project Preferences". This fixed everything for me

    Taken from here, you may want to read the full article for more instructions

提交回复
热议问题