Setting up JDK 7 for IntelliJ on the Mac

Posted by Fergal on Super User See other posts from Super User or by Fergal
Published on 2012-10-25T22:53:28Z Indexed on 2012/10/25 23:04 UTC
Read the original article Hit count: 262

Filed under:
|
|

I installed the JDK by downloading the dmg from the Oracle website here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

After installation I tried to setup the JDK in IntelliJ but when I set the location to the JDK in the Project Structure->SDKs screen, only a few libraries were loaded and many (including all libraries from Content/Classes/) were missing.

How can I add all of the necessary libraries libraries?

The install location for the JDK is /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home

I've tried looking in /System/Library/Frameworks/JavaVM.framework/Versions/ to no avail.

© Super User or respective owner

Related posts about java

Related posts about jdk