Java and Eclipse
Download/Installation Instructions


You may want to print these instructions before proceding. You should read each step completely before performing the action it describes. Because these products/instructions may change slightly every few months, I would appreciate it if you would let me know if you find any discrepancies between these instructions and what actually happens when you try to follow them.

IMPORTANT: Install Java first, BEFORE you install Eclipse.


Java

The following instructions were composed for installing Sun Java 1.6.0_11 (aka Java SE Development Kit (JDK) 6, Update 11). Note: Java is already installed as part of Mac OS X, so no further installation is necessary if you have recently purchased one of these machines. You can determine whether you have the right version by typing java -version to the unix command prompt; the response should be something like java version "1.6.0_11"

A typical Java installation takes about 450 megabytes of disk space. The installation process reports the exact size.

Downloading

  1. Click Java SE Downloads

    A page, with this label in orange, will be displayed in your browser.

  2. Find the section labeled Java SE Development Kit (JDK) 6 Update 11 (probably the second one from the top) and click its Download button (to the right). If a Security Information pop-up window appears, click Yes.
    A page, with the label Java SE Development Kit 6u11 for Windows, Multi-language in orange, will be displayed in your browser.

  3. In the pull-down list labeled Platform (which should show Select...), select Windows (not Windows x64); in the pull-down list labeled Language, select Multi-language (which should already be selected); click the checkbox labeled I agree to the Java SE Development Kit 6 License Agreement. Finally, click the Continue button, which also appears in orange. Again, if a Security Information pop-up window appears, click Yes.

    A page, with the label Download Java SE Development Kit 6u11 First Customer Ship for Windows, Multi-language in orange, will be displayed in your browser.

  4. Under Required Files, in click the orange, downward-pointing arrow or the file to its right. The file name is jdk-6u11-windows-i586-p.exe

  5. In the File Download - Security Warning pop-up window, click Save.

  6. In the Save As pop-up window, select the place to save this small file; the Desktop is a convenient place.

    A pop-up window will appear showing % of jdk-6u11-windows-i586-p.exe...; it should reach 100% quickly if you are using a hard-wired internet connection, more slowly if you are using wireless; when it shows Download Complete, click Close.

  7. You should see the file jdk-6u11-windows-i586-p.exe in the directory you specified in step 6, appearing as a "coffee cup with steam" icon.

  8. Start the Installing instructions directly below.

Installing

  1. Double click the "coffee cup with steam" icon labelling the file jdk-6u11-windows-i586-p.exe.

    If you see a Open File - Security Warning window, click Run. Some windows may open and close quickly.

  2. You will see a pop-up window labeled Java(TM) SE Development Kit 6 Update 11 - License whose contents start with Sun Microsystems, Inc. Binary Code License Agreement.

    Click the Accept button.

  3. You will see a pop-up window labeled Java(TM) SE Development Kit 6 Update 11 - Custom Setup whose contents start with Custom Setup ....
    Click the Next> button. The default is to get a full installation (~300Mb), which is what you want. The full installation of the required Java files will most likely be stored on the directory C:\Program Files\Java\jdk1.6.0_11\

  4. You will see a pop-up window labeled Java(TM) SE Development Kit 6 Update 11 - Progress whose contents start with Installing Java ....
    The installation progress is shown by "progress bars" (on various panes). Typically this process takes a few minutes.

  5. You will see a pop-up window labeled Java Setup - Custom whose contents start with Custom Setup ....
    Click the Next> button. The default is to get a full installation (~143Mb), which is what you want. The full installation of the required Java files will most likely be stored on the directory C:\Program Files\Java\jre1.6.0_11\ The installation progress again is shown by "progress bars" (on various panes). Typically this process takes a few minutes.

  6. You will see a pop-up window labeled Java(TM) SE Development Kit 6 Update 11 - Complete.
    Click the Finish button.

If you follow these instructions, Java will be successfully installed. To try to verify installation, click Start and then Run... and then type C:\WINDOWS\system32 in the Run pop-up window and then click OK. In the pop-up window type java -versionand press enter; it should print in that window java version "1.6.0_11" followed by two other lines.

You should keep the "coffee cup with steam" icon labelling the file jdk-6u11-windows-i586-p-iftw.exe in case you need to reinstall Java.

You may Close or Terminate (X) any Java-related windows remaining from this process.

You may now download and install the Eclipse IDE and test it with Java.


Eclipse

The following instructions were composed for installing Eclipse 3.4.1 on Windows. The process for Mac/Linux should be similar.

A typical installation takes about 140 Mb of disk space (plus the 79 Mb download, which you should keep on your machine, in case you need to reinstall it).

Downloading

  1. Click Eclipse

    A page, with the labels eclipse and Eclipse Downloads, will be displayed in your browser.

  2. Under the heading Eclipse Classic 3.4.1 (151Mb) (the last major icon on the bottom), click the appropriate Operating System -I'll assume a Windows installation in these instructions.

    A page, with the labels eclipse and Eclipse downloads - mirror selection, will be displayed in your browser.

  3. After the label Download from: click what is next: typically [United States] followed by the name of some college (it chooses a random one each time this page is displayed to distribute the work).

  4. In the File Download pop-up window, click Save.

  5. In the Save As pop-up window, select the place to save this small file. The file will be named eclipse-SDK-3.4.1-win32.zip. I suggest saving it in the C:\Program Files\ directory (or on the Desktop). A pop-up window will appear showing % of eclipse-SDK-3.4.1-win32.zip...; it should reach 100% after about 10-20 minutes (it is a large file, don't worry about the exact time as long as the download continues to make steady progress); when it shows Download Complete, click Close.

  6. Close or Terminate (X) any windows remaining from this process (e.g., the browser showing eclipse and the Download Complete pop-up window).
You should keep this file (eclipse-SDK-3.4.1-win32.zip) on you disk drive so that you can reinstall Eclipse any time during the quarter, if necessary. You should keep the "coffee cup with steam" icon labelling the file jdk-6u11-windows-i586-p-iftw.exe in case you need to reinstall Java.

Installing

  1. Unzip this file that you just downloaded.
    On my machines, I can It creates a folder named eclipse. You can leave this folder here or move it elsewhere on your disk drive. Again, I recommend putting the file and resulting folder in the C:\Program Files\ directory.

    You should know how to use your machine to zip and unzip files.

  2. Create a shortcut on your desktop to the eclipse.exe file in this eclipse folder.
    On most Windows machines, you can Now you are ready to perform a one-time only setup of Eclipse.

  3. Double-click the shortcut to Eclipse that you just created. In the Workspace Launcher window, in the box following Workspace:, should appear something like C:\Documents and Settings\username\workspace (where username is your login on the machine). If you want, you can type in (or browse) another location for the workspace file to be created, but I advise accepting the default.

  4. Check the box labeled Use this as the default and do not ask again.
    Aside: you will be using one workspace during the semester, checking projects in and out of this workspace. If you ever want to re-enable the display of this window, once Eclipse starts, you can

  5. Click OK

  6. Download (right-click and Save Target As) Course Library Jar (use Mac Course Library Jar for Macs) into the same folder that you are using as your workspace (or move this file in the workspace folder after downloading it elsewhere).

  7. In Eclipse, select Window | Preferences

  8. Click the + in front of Java or double-click Java (after the +)

  9. Click Installed JREs

  10. Under the Name column, double-click jre1.6.0_11.

  11. Click the Add External Jars... button.

  12. In the Jar Selection window, navigate to your workspace folder, and double-click the file introlib.jar.

  13. In the Edit JRE window, click OK

  14. In the Installed JREs window, click OK

  15. Terminate (X) the Welcome window
    You can always get it back by selecting Help | Welcome

  16. Terminate (X) the Eclipse window.

Note that if you install Eclipse on any platform(s), you will have to follow the directions related to introlib there too.