Skip to main content

Set Java Environment Variable Windows 10

Follow Below Steps or watch video:

Step 1: Copy path, where bin directory is located

Step 2: Open Control Panel and select System

Step 3: Click on Advance System Settings

Step 4: Click on Environment variable

Step 5: Click on New 

Step 6: Type Variable name as JAVA_HOME and paster value as path

Step 7: Select Path and click Edit

Step 8: Click on New

Step 9: Type %JAVA_HOME%\bin

Step 10: Click OK

Step 11: Type below command in command prompt to verify

$ java --version

Submitted by tgoswami on December 21, 2016

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.