Java and Eclipse:
Download and Installation Instructions
15-100
by Rich
Pattis
modified by Don Slater
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, THEN install
Eclipse.
[Sections in this document: Java
| Eclipse ]
Java
The following instructions were composed
for installing
Sun Java 1.5.0_08 (aka
JDK 5.0 update 8). This is not the latest version, but it is the one
that we are
using this semester.
Note for Mac OS users: Java is already installed as part of Mac OS X
10.4, so no
further installation of Java is necessary for these machines. Ensure,
though,
that you
have the right version by typing java -version at the
unix
command prompt (click on Terminal icon in the Dock, or run Terminal
from THe Applications: Utilities directory of your machine); the
response should be something like java
version "1.5.0_06"
(Apple has released version 5 update 6 as of Aug. 22, 2006).
For
Windows users:
A typical Java installation takes about 400 megabytes of disk space.
The installation process reports the exact size.
Downloading Java
- Click
Java SE Downloads
A page, with this label in orange, will be displayed in your browser.
- Find the section labeled JDK 5.0 Update 8 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.
- 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.
- Find the black bar labeled Windows Platform -
J2SE(TM) Development Kit 5.0 Update 8
- Click the link labeled Windows OFFLINE
Installation (typical download size is ~49.5MB), Multi-language
- Save the file it is about to download somewhere on
your disk drive. The file will be named jdk-1_5_0_08-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).
- Terminate (X) any windows remaining from this
process (e.g., the Download window).
Installing Java
- Double-click the 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.
- Click the "I accept the terms..." button.
- Click the Next button.
You will see a Custom Setup window for J2SE Development Kit
5.0 Update 8. The default is to get a full installation (~264Mb),
which is what you want.
- Click the Next button.
- You will see an Installing window (for J2SE
Development Kit 5.0 Update 8), 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.
- Eventually, you will see another Custom Setup
window, for J2SE Runtime Environment 5.0 Update 8. The default
is to get a full installation (~131Mb), which is what you want.
- Click the Next button.
- You will see a Browser Registration window. Select
whatever browser(s) you want to register for.
- Click the Next button.
- You will see another Installing window (for
J2SE Runtime Environment 5.0 Update 8), whose progress is shown by
progress bars (on various panes). This installation will take less time
than the one for the Development Kit.
- Click the Finish button on the Installation
Completed pop-up window.
Eclipse
The following instructions were composed
for installing
Eclipse 3.2 on Windows.
The process for Mac/Linux should be similar.
If later versions of Eclipse come out before I update these
instructions, you might have to go through a slightly different process
(please contact me if you do).
A typical installation takes about 134 Mb
of disk space
(plus the 120` Mb download, which you should keep on your machine, in
case you need to reinstall it).
Downloading Eclipse
- Click
Eclipse 3.2
A page, with the label eclipse downloads, will be displayed in
your browser.
- In the first section, find the text Download Now:
Eclipse SDK 3.2, Windows (120 MB)
- Click the icon to the left of this text, or the part
of the text labeled Eclipse SDK 3.2. If you are using
a Mac, it should sense it and display Mac instead of Windows.
If you are not using the operating system it recognizes, click the link
labeled Other downloads for 3.2 instead.
- Click the icon to the left of the text Download
from:
- Click the Save button to download, somewhere
on your disk, the
file named eclipse-SDK-3.2-win32.zip (for Windows PCs). The
exact form
of this interaction will depend on the version of your operating
system. Store
this zip file somewhere permanent on your disk drive, so that you can
unzip it
(to recreate Eclipse) later, if necessary.
- Terminate (X) any windows remaining from this
process.
Installing Eclipse
- 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-SDK-3.2-win32. You can leave
this folder here or move it elsewhere on your disk drive.
- 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.