how to install java
Transcript of how to install java
-
7/29/2019 how to install java
1/36
Windows 7 / Windows Vista
Java Development Kit (JDK)
Configuration
Instructions
-
7/29/2019 how to install java
2/36
1.Go tohttp://java.sun.com
http://java.sun.com/http://java.sun.com/http://java.sun.com/http://java.sun.com/ -
7/29/2019 how to install java
3/36
2.Click on Java SE on the right (under Popular Downloads.)
-
7/29/2019 how to install java
4/36
3.On the page that loads, scroll down until you see Java SEDevelopment Kit (JDK). Click on the Download button to
the right.
NOTE: At the time of writing (January 2009) the latest version
of the JDK is 6 Update 11.
-
7/29/2019 how to install java
5/36
4.On the page that loads, choose Windows as your platform,set language to Multi-Language, and select the checkbox.
Finally, click the orange Continue >> button.
NOTE: If you are confident that you are on a 64-bit Windows
installation, you can select Windows x64 as your platform,
but do not need to do so.
-
7/29/2019 how to install java
6/36
5.On the next screen that loads click to download the Java SEDevelopment Kit.
NOTE: You may be requested to use the Sun Downloader to
download Java. I advise just using the directly linked full
download.
-
7/29/2019 how to install java
7/36
6.Chose to save the file.
-
7/29/2019 how to install java
8/36
7.Downloading the file may take a couple of minutes based onyour connection speed.
-
7/29/2019 how to install java
9/36
8.Go to where you downloaded the JDK.
-
7/29/2019 how to install java
10/36
9.Launch the installer. If User Account Control given a securitywarning click the Yes button. The installer should begin
loading. Please be patient.
-
7/29/2019 how to install java
11/36
10. Eventually you will be presented with an End User LicenseAgreement (EULA). Read it before clicking the Accept >
button.
-
7/29/2019 how to install java
12/36
11. For this course, a default installation is completely fine, sojust click the Next > button.
NOTE: Pay attention to the Install to: location, you will
need it later.
-
7/29/2019 how to install java
13/36
12. Be patient while Java installs the JDK.
-
7/29/2019 how to install java
14/36
13. You will then be asked to install the Java Runtime Engine(JRE.) Click the Next > button.
-
7/29/2019 how to install java
15/36
14. Be patient while Java installs the JRE.
-
7/29/2019 how to install java
16/36
15. You are now done installing Java. All that is left isconfiguration.
Note: You may be asked to reboot your computer at this
point. If you are, please do so.
-
7/29/2019 how to install java
17/36
16. Now load the System Information Window by right clickingon Computer in the start menu and selecting properties.
Note: This step can be done in other ways too. Such as
Right clicking on Computer on the desktop andselecting properties.
Holding the Windows-key () on your keyboard andpressing the Pause key. (This may require holding
FN on some laptops.)
-
7/29/2019 how to install java
18/36
17. The System Information Window should load.
-
7/29/2019 how to install java
19/36
18. Click on Advanced system settings on the left of thewindow.
-
7/29/2019 how to install java
20/36
19. The System Properties window should open with theAdvanced tab already selected. Click on Environment
Variables button.
-
7/29/2019 how to install java
21/36
20. The Environment Variables dialog should load.
-
7/29/2019 how to install java
22/36
21. In the System variables region, scroll down until you seethe Path variable.
-
7/29/2019 how to install java
23/36
22. Click the lower Edit button.
-
7/29/2019 how to install java
24/36
23. You should now be editing the Path variable.
-
7/29/2019 how to install java
25/36
24. Remember the Install to: location on Step 12? That is theline you need to add to the endof the path. Be sure to
prefix the location with a ; and post fix it with bin
Therefore you want to add:
;bin
On MY computer, a Windows 7 beta x64 machines where I
installed the 32-bit JDK, that meant:
;C:\Program Files (x86)\Java\jdk1.6.0_11\bin
WARNING: BE VERY CAREFUL
NOT TO OVERWRITE ALL THEEXISTING ENTRIES IN YOUR PATH!
-
7/29/2019 how to install java
26/36
25. Click the OK button to confirm your change.
-
7/29/2019 how to install java
27/36
26. Click the OK button in the Environment Variables dialog.
-
7/29/2019 how to install java
28/36
27. Click the OK button in the System Properties dialog.
-
7/29/2019 how to install java
29/36
28. Close the System information window by clicking on the xicon on the top right.
-
7/29/2019 how to install java
30/36
29. Now to test our changes. Open the Command Prompt bygoing to:
Start All Programs Accessories Command Prompt
Note: This step can be done in other ways too. Such as
Opening the Run Dialog and entering the commandcmd (without the quotes.)
Searching for Command Prompt in the start menu.
-
7/29/2019 how to install java
31/36
30. The command prompt should load.
-
7/29/2019 how to install java
32/36
31. Enter the command path (without the quotes) and pressenter. You should see the new path location, which
includes your update.
-
7/29/2019 how to install java
33/36
32. Enter the command java -version (without the quotes)and press enter. You should see the JRE version you have
installed.
-
7/29/2019 how to install java
34/36
33. Enter the command javac -version (without the quotes)and press enter. You should see the JDK version you have
installed.
-
7/29/2019 how to install java
35/36
34. Close the command prompt by click on the x on the topright or typing exit (without the quotes) and pressing
enter.
At this point, you can delete the JDK installer that you
downloaded on step 6.
-
7/29/2019 how to install java
36/36
THE END
(CONGRADULATIONS)