Setup a Java environment
Apr13Difficulty: 




Java JDK Installation
1. Download a JDK: Java JDK6.
2. Run the installer.
Environment variables
1. Make a new environment variable called: JAVA_HOME
a. For XP: windows key + pause/break key -> “properties” -> tab “Advanced” -> “Environment Variables”
b. For Vista: windows key + pause/break key -> ‘advanced settings’ – -> tab “Advanced” -> “Environment Variables”
Click ‘New’ at “System Variables”. “JAVA_HOME” and set it to where the JDK is located i.e. C:\Program Files\Java\jdk1.6.0_14
3. Now modify the “PATH” variable and add your new variable “%JAVA_HOME%\bin;” at the start of the line. Leave the rest as is!
Checks
1. Open the command line, type: ‘Set’ to see if the environment variables are correct.
2. Type: ‘java -version’, to check which Java version is installed.
Posted in java |environment, / java, / sun
» 2 Comments, post your comment now. »
2 Responses to “Setup a Java environment”
[...] First make sure Java is installed: See my other blog post [...]













