Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can download the 10.7 Lion JDK from <a href="http://connect.apple.com" rel="noreferrer">http://connect.apple.com</a>.</p> <ol> <li><p>Sign in and click the <code>java</code> section on the right.</p></li> <li><p>The jdk is installed into a different location then previous. This will result in IDEs (such as Eclipse) being unable to locate source code and javadocs.</p></li> <li><p>At the time of writing the JDK ended up here:</p> <p>/Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home</p></li> <li><p>Open up eclipse preferences and go to <strong>Java --> Installed JREs</strong> page</p></li> <li><p>Rather than use the "JVM Contents (MacOS X Default) we will need to use the JDK location</p></li> <li><p>At the time of writing <strong>Search</strong> is not aware of the new JDK location; we we will need to click on the <strong>Add</strong> button</p></li> <li><p>From the <strong>Add JRE</strong> wizard choose "MacOS X VM" for the JRE Type</p></li> <li><p>For the <strong>JRE Definition Page</strong> we need to fill in the following:</p> <ul> <li>JRE Home: /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home</li> </ul></li> <li><p>The other fields will now auto fill, with the default JRE name being "Home". You can quickly correct this to something more meaningful:</p> <ul> <li>JRE name: System JDK</li> </ul></li> <li><p>Finish the wizard and return to the <strong>Installed JREs</strong> page</p></li> <li><p>Choose "System JDK" from the list</p></li> <li><p>You can now develop normally with:</p> <ul> <li>javadocs correctly shown for base classes</li> <li>source code correctly shown when debugging</li> </ul></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. 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