Where to get the tools.jar to use with the Java 8 jdk early release

后端 未结 13 1417
终归单人心
终归单人心 2020-12-31 09:32

Where to get tools.jar for Java 8 JDK early release? Without it, my Java 1.8 Maven pom based projects in Netbeans will not compile.

The Java 8 early release is set in

13条回答
  •  Happy的楠姐
    2020-12-31 09:47

    When I looked at Eclipse > Window > preference > Java > Installed JRE > it was pointing to JRE, which seems obvious, but when I changed the pointing to JDK the compile error was resolved since there was tools.jar now in JDK.

    Before this I had tried copying tools.jar from jdk/lib to jre/lib, but that did not solve the issue.

提交回复
热议问题