Reputation: 125
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.
Upvotes: 9
Views: 9334
Reputation: 31
How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd… open file
improve the version of IntelliJ idea.
update ide then try rerun
source for details: enter link description here
Upvotes: 0
Reputation: 716
I downgraded my Java from 15 to 11. Now it is working fine. (IntelliJ Idea 2020.1)
Upvotes: -3
Reputation: 16391
There was an issue: IDEA-243962. It is fixed now in 2020.2 version. EAP version is already available here.
Upvotes: 12