Use JDK9 to run Intellij

Good morning All,

I tried to run Intellij using JDK9, mainly for  testing JDK9 but also to see how well the new font renderer will work.  When I try doing this Intellij complains that it can't find tools.jar.

JDK Required: 'tools.jar' seems to be not in IDEA classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.

Yes, I do have the JDK installed, but JDK9 no longer has a tools.jar file, causing this test in the IDE startup to fail.

nriesdev$ ~/jdk1.9.0/bin/java -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b81)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b81, mixed mode)

nriesdev$ ~/jdk1.9.0/bin/javac -version
javac 1.9.0-ea

I'm wondering if this is something that has a workaround?  


-- Alan

Comment actions Permalink

Thank you!

-- Alan

Comment actions Permalink

Just FYI I was able to work around this by copying the file from JDK8.


Please sign in to leave a comment.