Intellij IDEA cannot find tools.jar

I install Intellij IDEA 15.0.2 on Windows 8.1, run it, it asks for the path to jdk, I select the directory with JDK, and then IDEA worked correctly. But after rebooting the PC, I get this error message from IDEA - 'tools.jar' seems to be not in IDEA classpath.. So, I check JAVA_HOME from the command line, check on tools.jar in JDK_directory/lib, everything is in its place, how to run IDEA?

+4
source share
3 answers

Open IDEA. Select [File] - [Invalidate Caches / Restart] and select "Invalidate and Restart". Try it :-)

+1
source

, JAVA_HOME. JAVA_HOME=</path/to/JDK> PATH. JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66

0

Idea.exe works in deafault, but if you run the idea64.exe file, everything will work correctly.

0
source

Source: https://habr.com/ru/post/1624920/


All Articles