installation: javahelpcentreonline.com/install/java.pdf · was installed in directory c:\program...

21
Installation: Java These instructions describe the steps required to download and install Java. 1 Download the setup program from Sun's web site. 1.1 In a web browser navigate to http://java.sun.com. 1.2 Click the Downloads menu option.

Upload: others

Post on 07-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

Installation: JavaThese instructions describe the steps required to download and install Java.

1 Download the setup program from Sun's web site.

1.1 In a web browser navigate to http://java.sun.com.

1.2 Click the Downloads menu option.

Page 2: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

1.3

Expand the Java SE tree node.

Page 3: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

1.4

Click the Java SE (JDK) 6 link.

Page 4: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

1.5

Click the Download button beside JDK 6 Update 2.

Page 5: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

1.6

Click the Accept Licence Agreement radio button.

Page 6: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

1.7

Check the Windows Offline Installation (build 06), Multi-language checkbox and clickthe Download selected with sun Download Manager button.

This will download a file named 1187083002972-integrated.jnlp. Note thedirectory the file is downloaded to.

Page 7: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

2 Download the installation media from Sun's web site.

2.1 Run 1187083002972-integrated.jnlp.

The Sun Download Manager is loaded from Sun's site and then a confirmation screen isdisplayed, requiring confirmation that the application should proceed.

2.2 Click the Start button to continue.

Page 8: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

2.3

The Download Manager presents a licence agreement.

Read the licence agreement and click ACCEPT to continue.

Page 9: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

2.4

Select the directory to download installation files to and click OK. Note the directory.

2.5

The Download Manager then displays some hints.

Click OK.

Page 10: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

2.6

The Download Manager then displays the file it will download.

Click Start to begin the download.

Page 11: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

Download progress is displayed.

When the download is complete, close the Download Manager application.

Page 12: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

3 Install the Java SE Development Kit.

3.1 Run jdk-6u2-windows-i586-p.exe.

A welcome screen is displayed and the Installation Wizard is prepared.

A licence agreement is displayed.

To accept the licence and continue, click the Accept button.

Page 13: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

3.2

A screen is displayed allowing selection of optional features and the directory to install to.

Select directory to install to and click the Next button.

Page 14: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

3.3

The program features selected are installed and then a screen is displayed allowingselection of more features.

Click the Next button.

Page 15: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

3.4

Java is installed.

Click the Finish button.

Page 16: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4 Complete the configuration

Update the Path environment variable and create the classpath environment variable.

4.1 Click the Start button.

4.2 Right-click My Computer.

Page 17: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4.3

Select Properties.

Page 18: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4.4

Click the Advanced tab.

Page 19: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4.5

Click the Environment Variables button.

Page 20: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4.6

In the System variables section select the Path variable and click Edit to edit it.

4.7

Add ;[Java directory]\bin to the end of the variable value. For example if Javawas installed in directory C:\Program Files\Java\jdk1.6.0_02, move thecursor to the end of the variable value and type ;C:\Program Files\Java\jdk1.6.0_02\bin.

Click OK to update the variable

Page 21: Installation: Javahelpcentreonline.com/install/java.pdf · was installed in directory C:\Program Files\Java\jdk1.6.0_02, move the cursor to the end of the variable value and type

4.8

In the System variables section select click New to create a new variable.

4.9

Type classpath for the variable name and the location of Java classes for the variablevalue. For example a value of .;C:\Java will cause Java to search in the currentdirectory for any classes required and if it cannot find the class there will try to find theclass in C:\Java. If unsure about what to type here, type .;C:\Java, which will causeJava to look for classes in the current directory and in directory C:\Java. If doing this itis advisable to create directory C:\Java if it does not already exist.

Click OK to create the variable.