Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ JDK 16 Early Access - Any Success? tools.jar

Has anyone had any success using JDK 16 (https://jdk.java.net/16/) early access build with IntelliJ?

I am able to use JDK 15 early access builds, but when I try JDK 16 I get an error message:

Error: Cannot determine path to 'tools.jar' library for 16 (path/to/jdk-16)

All of the research I've done says JDK stores tools.jar inside of the path/to/jdk-16/lib folder. Thing is, tools.jar isn't there in the JDK 15 package either, yet JDK 15 works fine.

If anyone has any clue on how to fix this issue I'd appreciate it. I'm still trying, and if I figure it out I'll update this post.

Thanks in advance.

like image 899
NotArchon Avatar asked Jul 02 '20 00:07

NotArchon


People also ask

How do I get Java 16 in IntelliJ?

You can also download Java 16 directly from IntelliJ IDEA. To do so, go to Platform Settings and click on SDKs, then click the '+' sign at the top, choose Download JDK, then select the Vendor and version and the directory to download the JDK to.

Does IntelliJ support Java 16?

IntelliJ IDEA 2021. X Java 16 standard language features: Records.


1 Answers

There was an issue: IDEA-243962. It is fixed now in 2020.2 version. EAP version is already available here.

like image 75
Andrey Avatar answered Oct 05 '22 05:10

Andrey