CS 6 - Summer 2005


Installing Eclipse on Windows

Click here to go to a page with all of the installation files you'll need (except for cs1.jar). ...or, read below for installation instructions as you go (if you prefer).


(These instructions are taken from the installation instructions given at http://www.cs.dartmouth.edu/~cs5/install/eclipse-win.html)

Do the following to download, install and configure Eclipse 3.0. Please follow these steps exactly. (If you KNOW that you have a version of JRE or JDK installed on your computer, you can skip to the main installation instructions).

Preliminary steps: Installing the newest version of JRE (Java Runtime Environment)

  1. Click here to go to a page with the necessary downloadable files.

    Depending on your web browser, you may be prompted to choose whether you want to open the file or download it to your hard drive. You should choose to save it to a location that is easy to find, such as your desktop.

  2. Once the download is finished, close any pop-up dialog boxes and double click on the jre-1_5_0-rc-windows-i586.exe icon. This starts the installation process.

  3. Check that you accept the license agreement and click on Next. On the next screen, keep Typical installation checked and click on Next again. After the software is installed, click on Finish.Ê If a message prompts you to restart your computer, do so at this point. Now follow the main steps.


Main installation instructions:

  1. Click here to go to a page with the necessary downloadable files.

    Depending on your web browser, you may be prompted to choose whether you want to open the file or download it to your hard drive. You should choose to save it to a location that is easy to find, such as your desktop.

  2. Once the download is finished, close any pop-up dialog boxes and right click on the eclipse-SDK-3.0.1-win32.zip icon. Point the mouse to Open With from the pop-up menu and click on Compressed (zipped) Folders. If there is no such option, go on to step 3; otherwise, drag the eclipse folder to the C:\Program Files directory and skip to step 7.

  3. If you have an earlier version of Windows, you might have to use some unzipping software, such as WinZip or WinRar. To download WinZip, click here .

  4. Depending on your web browser, you may be prompted to choose whether you want to open the file or download it to your hard drive. You should choose to save it to a location that is easy to find, such as your desktop.

  5. Double click the winzip90.exe icon and click on Setup in the pop-up window. Click on OK in the new window. In the dialog titled WinZip Setup, click on Next, then Yes. Click on Next for three consecutive screens. Finally, click on Finish. Now close the window titled Winzip (Evaluation Version). Remember: This is an evaluation version of WinZip, so you MUST either remove this program from your computer or buy the licensed version once the evaluation period is over.

  6. Double click on the eclipse-SDK-3.0.1-win32.zip icon. Click on Use Evaluation Version in the pop-up window. The WinZip window appears again. Go to Actions and choose Extract from the drop-down menu. In the Extract to field, type in C:\Program Files, without the quotes, and click on Extract. Close WinZip once the unzipping is finished.

  7. Go to the C:\Program Files\eclipse folder and drag the eclipse application file to the desktop, for easier access.

  8. You should create a workspace folder that will be used to store your working code files and libraries. We recommend that you call it Eclipse-Workspace and store it in your Documents folder. Double click the eclipse application. Click on Browse and then on My Documents. Click on the New Folder button. A new folder with a default name New Folder is created. You can rename it to Eclipse-Workspace. Click on OK. Check the Use this as the default and do not ask again box and click on OK. Select Workbench in the upper right corner. Close the eclipse application.

  9. Right click here and choose Save Target As (if you are using Internet Explorer) or Save Link As (in Netscape or Mozilla) to download the cs1.jar file. (If you forget to do this step, then you won't have the Keyboard class that we use for console input.) Depending on your browser, you should either choose to download the file to your Eclipse-Workspace folder or drag it to that location after it has been downloaded.

  10. You are done. For more information about Eclipse, see the website: eclipse.org .

  11. Finally, don't forget to download cs1.jar. This is some helpful code that goes along with our course textbook.