File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes IntelliJ 12 not working correctly with JDK 1.7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IntelliJ 12 not working correctly with JDK 1.7" Watch "IntelliJ 12 not working correctly with JDK 1.7" New topic
Author

IntelliJ 12 not working correctly with JDK 1.7

Ryan McClain
Ranch Hand

Joined: Nov 27, 2010
Posts: 106
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 to manually add my JDK\bin path to the path environment variable in Windows, rebooting. Still didn't help. I got the same error.
I also added JDK7u7 under every part of Project Structure where one could select a JDK.
However, when I change from JDK7u7 to JDK6u27 then all of a sudden my project compiles without problems.

I want to be able to run my project with JDK7u7. How do I do that?

OS: Windows 7 x64
Java versions: JDK 1.7u7 i586 32 bit, JDK 6u27 i586 32 bit

Thanks

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IntelliJ 12 not working correctly with JDK 1.7