Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (7k points)

Can someone tell me how to install environment variables in Windows 10 so I can use java and javac

1 Answer

0 votes
by (13.1k points)

  1. Search Advanced System Settings in your search box and click on it

  2. Click on the Environment variables button

  3. Goto system variables session and click on the New button to create a new variable

  4. Give Variable Name: JAVA_HOME and variable value: Your java SDK home path. Click ok button

  5. Now You will see JAVA_HOME in the System variables list.

  6. Select Path and click on the Edit button

  7. Click on the New button and give %JAVA_HOME%\bin at the highlighted field and click the OK button.

Want to learn Java? Check out the Java course from Intellipaat.

Related questions

0 votes
1 answer
asked May 3, 2020 in Java by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer
asked Apr 5, 2021 in Java by sheela_singh (9.5k points)
0 votes
1 answer

Browse Categories

...