Installing Java and Eclipse for CSE131

Installing Java and Eclipse for CSE131

Software development projects in CSE131 are done in the Java programming language within the Eclipse development environment. Both Java and Eclipse are freely available for installation on your computer. We recommended having at least one gigabyte of RAM in your computer to run Eclipse.

Follow the instructions below to get started. If you have trouble, feel free to ask one of the CSE131 TAs.

IMPORTANT NOTE: We are standardizing on Java 5 for CSE131, because Java 6 has not been released for all platforms. You may use Java 6 at home, but you will need to be sure that your programs can run on CEC. You may find it easier to stick with Java 5 at home as well.


Macintosh Users

To use Java 5.0 on a Mac, you must have OS X Version 10.4 or later. To check your OS version, choose "About This Mac" from the Apple menu and look at the version number.

  1. Your computer may have been shipped with Java 5.0 already installed. If you have the folder /Applications/Utilities/Java/J2SE 5.0/, then you can skip to Step 3.

  2. Install the Java 5.0 Runtime Environment (JRE) by following these instructions from the Apple web site.

  3. Double click on the JavaPreferences application in the folder /Applications/Utilities/Java/J2SE 5.0. For "Use version:" select J2SE 5.0 and close the window.

  4. Download the Mac OSX version of Eclipse. Save the file in your Applications folder. After unstuffing the download, open the eclipse folder. Find the eclipse application in the folder and drag it to your dock for convenience.

  5. Click on Eclipse in your dock, and the application should open. You will be asked to select a workpace folder where your projects will be stored.


Windows Users

  1. Download the Windows version of the Java (use the Java 5.0 Runtime Environment (JRE) Update 8 or later) from Sun Microsystems and install it on your computer. (There are many choices on the dowload page. Choose the appropriate Windows version for your system.)

  2. Download the Eclipse IDE for Java Developers and save the file in your Applications folder. After unzipping the download, open the eclipse folder. Find the eclipse application in the folder and right click on it to create a shortcut named Eclipse. Drag the shortcut into your start menu or onto your desktop for your convenience.

  3. Start Eclipse by selecting it from your the start menu or double-clicking the shortcut on your desktop. You will be asked to select a workpace folder where your projects will be stored.

Linux Users

  1. Download the Linux version of the Java (use the Java 5.0 Runtime Environment (JRE) or later) from Sun Microsystems and install it on your computer. Be sure to choose the appropriate Linux version for your system.)

  2. Download the Linux version of Eclipse. Save the file in your Applications folder. After unzipping the download, open the eclipse folder. Find the eclipse application in the folder and right click on it to create a shortcut named Eclipse. Drag the shortcut into your start menu or onto your desktop for your convenience.

  3. Start Eclipse by selecting it from your the start menu or double-clicking the shortcut on your desktop. You will be asked to select a workpace folder where your projects will be stored.