简体   繁体   中英

Intellij IDEA can not find tools.jar

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

Open IDEA. Select [File]-[Invalidate Caches/Restart] menu and select "Invalidate and Restart" button. Have a try. :-)

I think you didn't set up JAVA_HOME. Try to add JAVA_HOME=</path/to/JDK> variable to your PATH. For example JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_66

通过deafault,idea.exe运行,但如果您运行idea64.exe,一切正常。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM