0% found this document useful (0 votes)
42 views

Setting Environment Variables For Java

The document provides instructions for setting environment variables for Java after installing the JDK. 1. Find and create environment variable entries for classpath, include, lib, and path if they do not already exist. 2. Locate the java.exe file and copy the directory path without the java.exe. 3. For each environment variable, add the copied directory path to the end of the existing variable value, separating directories with semicolons.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Setting Environment Variables For Java

The document provides instructions for setting environment variables for Java after installing the JDK. 1. Find and create environment variable entries for classpath, include, lib, and path if they do not already exist. 2. Locate the java.exe file and copy the directory path without the java.exe. 3. For each environment variable, add the copied directory path to the end of the existing variable value, separating directories with semicolons.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

SETTING ENVIRONMENT VARIABLES FOR JAVA AFTER JDK INSTALLATION

Step 1:Get into Environment Variables. I hope you know how to find it. Step 2:Find 4 variables below:a) classpath b) include c) lib d) path If you can't find it...just create it...and for it's value...let it empty for a while... Step 3:Find location of your java.exe For example : C:\Program Files\Java\jdk1.6.0\bin\java.exe Step 4:Copy all word before java.exe So, what i must copy is : C:\Program Files\Java\jdk1.6.0\bin\ Step 5:Get into Environment Variables again Now, for each variables that i have listed...add word in parentheses (. of their Variable value.If it empty, just add .; into it... at the beginning

Step 6:For each Variable value in each 4 listed variables, add a semicolon( at the end and paste what you copy in Step 4.If ; exist, don't create it again...just paste what you copy in Step 4 after it... Step 7:Now restart your computer and check if you still get the error message. Step 8:If it still show the error message...get into Environment Variables again, go to each 4 variables that i have listed...and add double quotes (") between all word that you copy in Step 4. For example : "C:\Program Files\Java\jdk1.6.0\bin\" Step 9:Repeat Step 7

You might also like