Monday, February 14, 2011 05:09 PM
Install the jdk
Go to Window - Preferences
Go to Java - Installed JREs
Click the Add button
Choose Standard VM and click Next
Click the Directory... button beside JRE Home
Browse to your jdk install directory (eg C:/jdk1.6.0_18)
Click the OK button
Click the Finish button
Set the JDK as the default by checking the check box to the left of the JDK under Installed JREs
Click the OK button to close Preferences
That should do it - the JDK should now be your default instead of the JRE.
Menu/setting/button names may differ slightly between Eclipse versions.