QUIT WINDOWS, IT SEVERELY HARMS HEALTH OF YOUR COMPUTER!
COMPUTERS RUNNING WINDOWS DIE YOUNG!
JDK on Windows
- Visit the homepage, pick the newest release (at the time of writing this it is "JDK 6 Update 3"), press button Download, agree to licence terms, pick "Windows Offline installation". After that download JDK 1.6 documentation. You can ignore Java Runtime Envirnoment (JRE), since it is included in JDK anyway.
- Open jdk-6u3-windows-i586-p.exe and agree to all defaults.
- After the installation define a new environment variable - JAVA_HOME. It should point to the installation directory of JDK. For example, C:/Program Files/Java/jdk1.6.0_03.
Edit the environment variable Path by replacing its previous value
some_directory1;some_directory2;...with the following one:
%JAVA_HOME%/bin;some_directory1;some_directory2;...- Note:* Path directories under Windows should be separated with semicolons (;). By adding the %JAVA_HOME%/bin directory at the very beginning you can ensure that no "java.exe", which may appear later in various Path directories is run (and also it is safer, if Path variable has errors somewhere such as unexpected spaces).
How to check your installation
- Close all DOS and Total Commander windows, which were open, when environment variables were redefined.
- Open a new DOS window in any directory; type command "java -version" and check that it prints the version number
Java SE 6 documentation
- Unzip the file jdk-6-doc.zip to %JAVA_HOME%. It should create a subdirectory with many HTML files - C:/Program Files/Java/jdk1.6.0_02/docs
- If you wish, you can add documentation homepage (and also the API documentation homepage) as bookmarks/favorites for your browser.
- Java documentation is also available in the Internet - see JDK 6 Documentation, also Javas API Dokumentation
Tags
Windows
Rīki
Uzstādīšana
Programmēšana
Java
Created by Valdis Vītoliņš on 2013-09-08 13:52
Last modified by Valdis Vītoliņš on 2013-09-08 13:52
Created by Valdis Vītoliņš on 2013-09-08 13:52
Last modified by Valdis Vītoliņš on 2013-09-08 13:52