How to set Java as Enviroment Variables in Windows 10

You need to set java as enviroment variable before you can use it from anywhere in your computer.
Here i am showing in case of Windows 10. The steps are almost similar for Windows 7/8/8.1 also.

1. Install Java on your system. (Here i have installed Oracle Java)

2.Go to your system properties.
   (Right Click on This PC icon and select properties.)

3.Click on Advance System Setting.

set_java_as_enviroment_variables


4. Go to Enviroment Variables.

set_java_as_enviroment_variables

5. Under User variables click new.

set_java_as_enviroment_variables
6. Add your java inatalled path on variable value and java folder name(jdk or jre folder name) in   variable name field.

set_java_as_enviroment_variables

7. Now under system variables click on `Path` and edit it. add the javac contained path in value field.(/bin folder of jdk/jre folder.)
set_java_as_enviroment_variables

 (Don`t forget to separate the value using semicolon(;) if there are others value already.

set_java_as_enviroment_variables

8. Click Ok and close all dialogue by clicking ok.

9. To check sucessfull adding of java in enviroment variable open comand prompt and type
 java -version  and javac -version.

10 If you get result as shown in picture showing your installed java version your java is ready to use.

set_java_as_enviroment_variables

VIDEO::::






Post a Comment

18 Comments

  1. this is really helpful..Thanks for this

    ReplyDelete
  2. its amazing and very easy tutorial for setup environment variable in win10. thanks allot keep write good content.

    ReplyDelete
  3. Thanks for the tips and info! It's really helpful :)

    ReplyDelete
  4. is the procedure same for windows 7?

    ReplyDelete
  5. Wonderful article will you help me to create poas and daos in java as well as fixing connection timeout error.

    ReplyDelete
  6. Great blog with many helpful stuff. Thank you!

    ReplyDelete
  7. There are numerous sack choices out there that will both suit your requirement for publicizing purposes and shield our condition from undesirable poisons, unfortunate items, and packed landfills. eco-dumpster

    ReplyDelete