Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had to combine the responses I got to this point and add a few extra details so I'm answering my own question.</p> <ol> <li>Search for "Java developer" from <a href="https://developer.apple.com/downloads?q=java%20developer" rel="noreferrer">Downloads for Apple Developers</a></li> <li>Download and install "Java for Mac OS X 10.6 Update 9 Developer Package" (or later).</li> <li>In IntelliJ, open File -> Project Structure.</li> <li>Click on "SDKs" under "Platform Settings".</li> <li><p>Add the following paths under the "Documentation Paths" tab (the paths may be different based on which JDK you're using):</p> <pre><code>/Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home/docs.jar!/docs/api /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home/appledocs.jar!/appledoc/api </code></pre></li> <li><p>Add the following path under the Sourcepath tab:</p> <pre><code>/Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Home/src.jar!/src </code></pre></li> </ol> <p>Thanks, @Yishai for the download location and @Gareth Davis for the location of the documentation after installing.</p> <p><strong>Update for 10.7/10.8 [Mountain] Lion:</strong></p> <p>Steps are the same except for these changes:</p> <ol> <li><p>In step 2, download "Java for OS X 2012-005 Developer Package" (or later).</p></li> <li><p>Use these paths instead in step 5.</p> <pre><code>/Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home/docs.jar!/docs/api /Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home/appledocs.jar!/appledoc/api </code></pre></li> <li><p>Use these paths instead in step 7.</p> <pre><code>/Library/Java/JavaVirtualMachines/1.6.0_35-b10-428.jdk/Contents/Home/src.jar!/src </code></pre></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload