• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IntelliJ 12 not working correctly with JDK 1.7

 
Ranch Hand
Posts: 153
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
reply
    Bookmark Topic Watch Topic
  • New Topic