Install Java2 1.5.0_04 SDK & JRE

Download Report

Transcript Install Java2 1.5.0_04 SDK & JRE

ISYE 7210—Fall 2005
Design of Real-Time Interactive Simulations (in Java)
Initial Notes
Christine M. Mitchell
Director & Professor
Center for Human-Machine Systems Research (chmsr)
School of Industrial and Systems Engineering
Office: Groseclose Building, Room 336
chmsr lab: ISyE Building, Room 426
Phone (Office): (404) 894-432
Phone (Lab): (404) 385-0363
[email protected]
www.chmsr.gatech.edu/ISyE7210/
(8.22.05)
CHMSR
1
Getting Started:
Installing and Configuring Java JDK 5.0

Download Java (cont’d)
 Remove previous installations of Java

My Computer -> Control Panel

“Add or Remove Programs”

Look for “J2SE”
 If version different than 5.0 -> remove it
 If version is 5.0 or greater -> skip the rest
 Download Java JDK from Sun Web site
java.sun.com/j2se/downloads.html
(8.22.05)
2
Getting Started: (cont’d)
Installing and Configuring Java JDK 5.0

Download Java (cont’d)
 Scroll to: JDK 5.0 Update 4 includes the JVM technology
 Select: Download JRE 5.0 Update 4
 Terms and conditions: Accept
 Scroll to: Windows Platform - J2SE(TM) Runtime Environment 5.0 Update 4
 Select: Windows Offline Installation, Multi-language

( corresponds to: jdk-1_5_0_04-windows-i586-p.exe)
 Save: Installation file onto your computer desktop
(8.22.05)
3
Getting Started: (cont’d)
Installing and Configuring Java JDK 5.0

Install Java Software Development Kit (SDK) and Java Runtime Environment
(JRE) in your computer following the on-screen installation instructions
 Double click: jdk-1_5_0_04-windows-i586-p.exe
 Check: I accept the terms in the license agreement
 Select: Next
 Select: Development Tools (the first option)

The default installation location for the JDK is
 C:\Program Files\jdk1.5.0_4\
 Select: Next
 If you need help installing the SDK or JRE, see

(8.22.05)
Java installation instructions on the Java developers site
http://java.sun.com/j2se/1.5.0/download.jsp
4
Getting Started: (cont’d)
Installing and Configuring Java JDK 5.0

Install SDK and JRE in your computer following the on-screen installation
instructions (cont’d)
 Select: J2SE Runtime Environment

The default installation location for the JRE is
 C:\Program Files\Java\jre1.5.0_4\
 Select: Next
 Select: Browser (might try Mozilla & Netscape)
 Select: Next
 Select: Finish

(8.22.05)
Check to see if the correct Java (sdk1.5.0_4) version is installed correctly
 Open a command window
 Type: java –version
5
Getting Started: (cont’d)
Installing and Configuring Java JDK 5.0
The remaining instructions assume you are running Windows 2000 or XP
 Go to: Start | Settings | Control Panel | System | Advanced | Environment
Variables
 Click: CLASSPATH in System Variables list
 Edit: CLASSPATH
 Append
the location of the Java bin directory to the CLASSPATH
Variable Value field (below is the default location for a normal
installation
.; C:\Program Files\Java\jdk1.5.0_04\bin
 Click OK.
 Click OK.
 Click OK.
(8.22.05)
6