Find Install Directory
Look for the install path for the Java or Software
Development Kit(SDK), to find the installation path do the following:
- JDK (Java Development Kit) during default installation, are kept in a directory under
C:\Program Files\Java
. If it is not there we need to find it on the system.
- At the path, there will be a sub-directory like
jdk1.6.0_03
.
So, the installation path is C:\Program Files\Java\jdk1.6.0_08
.
Apply Setting
Once you have found the JDK (Java Development Kit) install path:
- Right click on the "My Computer" icon on your desktop and select "Properties".
- Click the "Advanced" Tab
- Click the "Environment Variables" button
- In the "System Variable" tab, click "New"
- Enter the variable name as
"JAVA_HOME"
- Enter the value as the installation path for the Development Kit
- Click "OK" button.
- Click "Apply" Changes
Check JAVA installation
- Click on the "Start" button.
- Type in "cmd" in the search bar. Press "Enter" button on the keyboard.
- The command prompt must open up. Enter the command "java-version" in it.
- It must come up with the java details installed on the system.
No comments:
Post a Comment