
COMP 110
Spring 2007
Instructor: Christine Xu
Instructions of how to install JDK 6
1. Go to http://java.sun.com/javase/downloads/index.jsp and download JDK 6.
Don’t worry about the JDK 6 with Java EE or JDK 6 with NetBeans 5.5.
2. Accept License Agreement
For Windows users: click Windows Offline Installation, Multi-language.
Download jdk-6-windows-i586.exe.
For Linux users: click Linux RPM in self-extracting file.
Download jdk-6-linux-i586-rpm.bin.
3. After the download finishes, run the executable file. Follow the steps and
install JDK 6.
4. After the installation, we should check whether the installation is successful.
Open a console (for Windows users, go to Start->Run, type cmd and
ENTER; for Linux users, choose Terminal; for Mac users, click Spotlight,
type terminal).
In the console window, type java –version. Following information should be
able to show:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing).
5. For Mac users: Mac OS X is the only mass-market operating system that
comes with a fully configured Java Development Kit, so you don’t need to do
the JDK installation. Follow step 4, and find out the java version you have. As
long as it’s higher than version 1.4, you should be fine.
Instructions of how to install Eclipse
1. Go to http://www.eclipse.org/downloads/.
Click Eclipse SDK 3.2.1, choose a mirror site, and save the compressed
file (For Windows, it’s eclipse-SDK-3.2.1-win32.zip; for Mac users, it’s
eclipse-SDK-3.2.1-macosx-carbon.tar.gz).
2. After the download finishes, uncompress the file to a location where you
want Eclipse to locate.
3. After the uncompress, there will be a folder called eclipse. Enter it you
will see an executable file called eclipse.exe (or Eclipse.app in Mac).
Double click it and launch Eclipse.