When I try to run my project (Shift+F10/play button) in IntelliJ 12 Ultimate using JDK 7 update 7 , I get the following error:
Java:System Java Compiler was not found in classpath
I tried:
However, when I change from JDK7u7 to JDK6u27 then all of a sudden my project compiles without problems .
How do I run my project with JDK7?
OS: Windows 7 x64 Java versions: JDK 1.7u7 i586 32 bit, JDK 6u27 i586 32 bit
Thanks
I have never used IntelliJ, but invalidating caches ( FILE -> invalidate Cache) often helps with different kind of these problems.
Moreover I would recommend installing the latest Java7 JDK Version because of some security issues lately.
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.