Using Eclipse with an external JDK


For our sessions with Ant, we'll need to provide Ant will an external JDK since on your lab computer isn't an external Java compiler installed. To do this

1) Open a browser Firefox and save the http://www-plan.cs.colorado.edu/doerr/teaching/csci3308/javasdk.zip to your desktop.

2) Right click on the file and select "Extract All..." You should now have a folder "javasdk" on your desktop.

3) Open up Eclipse and after you created a new project, right click on the project name and access the properties.

4) Click on Java Build Path and select the Libraries tab. "Add Library..." and choose the JRE System Library.
sdk1
5) Select "Alternate JRE" and click on "Installed JREs...". In the following window select "Add..".

sdk2

6) Now select the j2dsk folder inside the folder on your desktop using "Browse...", name the Jdk "ExtJDK" and click ok. Check "ExtJDK" in the "Add..." dialog and click ok.