logo: Introductory Programming
 
Home Courses Faculty & Staff Announcements Announcements Search
 

Java and Eclipse: Download and Installation Instructions

You may want to print these instructions before proceeding. You should read each step completely before performing the action it describes. Because these products may change slightly each semester, 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 installing Eclipse.

[Sections in this document:   Java   |   Eclipse ]

Java

The following instructions were composed for installing Sun Java 1.5.0_14 aka JDK 5.0 Update 14). This is not the latest version, but it is the latest version of the 1.5.0 development tree. Note for Mac OS users: Java is already installed as part of Mac OS X 10.4, so no further installation is necessary for these machines. Ensure, though, that you have the right version by typing java -version at the unix command prompt; command prompt; the response should be something like java version "1.5.0_07" (Apple has released version 5 update 7 as of Aug. 23, 2007). If you do not have Java version 1.5.0_0x installed on your Macintosh, you will want to see the instructions below.

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

Downloading Java (Windows only)

  1. Click Java SE Downloads - Previous Release - JDK5
    A page, with this label in orange, will be displayed in your browser. DO NOT DOWNLOAD JAVA VERSION 6!

  2. Find the section labeled JDK 5.0 Update 14 and click its Download button. Click Yes to the Security Window pop-up, if it appears. A page, with the label Download in orange, will be displayed in your browser.

  3. Click the Accept button, which appears under Required in red (it is in a small font: look for it carefully). Again, click Yes to the Security Window pop-up, if it appears.

    This page will re-display itself, with this information absent.

  4. Find the black bar labeled Windows Platform - J2SE(TM) Development Kit 5.0 Update 14

  5. Click the link labeled Windows Online Installation (typical download size is ~33.7MB), Multi-language

  6. Save the file it is about to download somewhere on your disk drive. The file will be named jdk-1_5_0_14-windows-i586-p-iftw.exe. The exact form of this interaction will depend on the version of your operating system. Store this exe file somewhere permanent on your disk drive, so that you can reexecute it (reinstall Java) later, if necessary. This file is only about 250KB (1/4 MB).

    (Note that to run this file to install the JDK, you must have an active network connection. To download the larger (51.3 MB) file that can install the JDK without requiring a network connection, you must click the link labeled Windows Offline Installation, Multi-language. This file is named jdk-1_5_0_14-windows-i586-p.exe.)

  7. Terminate (X) any windows remaining from this process (e.g., the Download window).

 


 

Making Sure Macintosh Systems are Running Java 1.5

  1. Run Software Update from the blue apple menu.

    If Software Update does not offer Java 1.5 as an option, it means one of two things:

    • It is already upgraded.
    • Apple has not repackaged and released Java 1.5 for the version of Mac OS you are using. If this is the case, upgrade the OS then move Java version to 1.5.

 


 

Installing Java (Windows only)

  1. Double-click the .exe file that you just downloaded, to run it.
    Click Run to the Open File - Security Warning pop-up. You will see an Windows Installer window temporarily, then a Preparing to Install window temporarily. You will then see a License Agreement window.

  2. Click the "I accept the terms..." button.

  3. Click the Next button.
    You will see a Custom Setup window for J2SE Development Kit 5.0 Update 14. The default is to get a full installation (~264Mb), which is what you want.

  4. Click the Next button.

  5. You will see an Installing window (for J2SE Development Kit 5.0 Update 14), whose progress is shown by progress bars (on various panes). Be patient: many megabytes of information is being downloaded and then used to perform the actual installation; sometimes the progress bars look like they are making no progress. button.

  6. Eventually, you will see another Custom Setup window, for J2SE Runtime Environment 5.0 Update 14. The default is to get a full installation (~131Mb), which is what you want.

  7. Click the Next button.

  8. You will see a Browser Registration window. Select whatever browser(s) you want to register for.

  9. Click the Next button.

  10. You will see another Installing window (for J2SE Runtime Environment 5.0 Update 14), whose progress is shown by progress bars (on various panes). This installation will take less time than the one for the Development Kit.

  11. Click the Finish button on the Installation Completed pop-up window.

Eclipse

The following instructions were composed for installing Eclipse 3.3 on Windows. The processes for MacOS X and Linux should be similar.

On Windows a typical installation takes about 156 MB of disk space (plus the 140 MB download, which you should keep on your machine, in case you need to reinstall it).

Downloading Eclipse

  1. Click on this link.
    A page, with the label Release Downloads, will be displayed in your browser.

    Regardless of your OS, you will see five entries in the Eclipse Europa Packages section.

  2. Click the Eclipse Classic - Windows (140 MB) link to begin the process of downloading/saving this file on your computer.

    (For MacOS, click on the Eclipse Classic - MacOSX (137 MB) link.)

  3. Terminate (X) any windows remaining from this process.

 


 

Installing Eclipse

  1. Unzip/extract all files from this zip file that you just downloaded.
    On most Windows machines, you can
    • Right-click the file.
    • Move to the WinZip command.
    • Click Extract to here
    It creates a folder named eclipse. You can leave this folder here or move it elsewhere on your disk drive.

  2. Create a shortcut on your desktop to the eclipse.exe file within this unzipped folder.
    On most Windows machines, you can
    • Hold down the right mouse button on the file eclipse.exe
    • Drag this file to the desktop.
    • Release the right button.
    • Click Create shortcut here

    Your instructor will inform you of any additional setup steps that you may need to take if necessary.

Undergraduate Education School of Computer Science Carnegie Mellon Academic Calendar Lecturers ONLY