[HOW TO] Setup Java Development Kit (JDK)
To set up the Java Development Kit (JDK) first you need to download the latest version of Java JDK from Oracle site. Download Java SE. The JDK and JRE are available in Oracle site and you can download and installed them according for Windows and linux (both 32 bit and 64 bit available). After the download is completed install the Java JDK in your computer.
It's not done just installing the JDK file in your computer. You need to set the Path and Java_Home Environment Variables which refers or locate the java and javac you have installed.
Steps to Add Java_Home environment variables:
- Right Click on Computer and click Properties.
- Now Click Advanced system setting which opens the system properties dialogue box.
- Select the Environment Variables at the bottom of the window.
- You need to update the Path of Java installation directory and press OK. The location of directory looks like this: C:\Java\jdk1.7.0_<version>.
Another thing if you are using the IDE like Eclipse it will automatically find the location of java you have installed.
[HOW TO] Setup Java Development Kit (JDK) Reviewed by RefreshIt on 10:52:00 PM Rating: