How To Configure Java Path Setting

In this article i will describe how to set path for java beginners step by step. Though it seems complicated for first timer its not actually that complicated stuff. To install java  on your system you need to download couple of files listed in the steps listed below.

Step 1

Java JRE Installation

  1. Download a JRE executable file from the Java Library at Oracle Click here.
  2. Double click on this file
  3. After the installer finishes loading, read and accept the license agreement. For most people the typical install will be fine.
  4. The JRE installer will do the rest.
  5. When the installer is finished, click Finish. That is it, JRE is now installed.

Step 2

Java JDK Installation

  1. Download a JDK executable file from the Java Library at Oracle Click here.
  2. Double click on this file and follow the same steps from 3 to 5 in Step 1.

Step 3

Java Path Settings

  1. Search “System Environment Variables” in windows search.java path setting
  2. Now,  In System Variable click on NEW button.
  3. java path setting click on new button

    java path setting click on new button

  4. Enter Variable name JAVA_HOME
  5. In Variable value copy paste the path directory upto the JDK directory installed in your system.
  6. Example: C:\Program Files\Java\jdk1.7.0_09
  7. New Variable Setting JAVA_HOME

    New Variable Setting JAVA_HOME

  8. Next select Path variable, Click on Edit.
  9. Enter “%JAVA_HOME%\bin;”
  10. Setting Path Variable Using JAVA_HOME

    Setting Path Variable Using JAVA_HOME

  11. Now, Press OK and follow step 4

Step 4

Java Installation Check

  1. Open command prompt in windows.
  2. Type in Java and press enter.
  3. It should show the Java usage and options.(The cmd output should be similar to that of image Below)
  4. Next type in Javac and press enter.
  5. Again Similar to Step 3.
  6. It should show the Java usage and options.(The cmd output should be similar to that of image Below)
  7. If the output isnt similar you need to set the path settings.
java path success

java path success

 

That is it Your done with java installation and path settings.

 

 

Leave a Comment