![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to set JAVA_HOME environment variables on Windows OS in Java?\n
Once you have installed JDK version on your windows machine, you have to set up Environment Variables.
Please find below steps to set the java path
Go to My Computer ---> Right Click on it ---> Advanced System Settings ---> Advanced Tab ---> Click on Environment Variables
- Now you have to alter the “Path” variable under system variables such that it contains a path to Java Environment. Select the path variable and click on the “Edit” button
- By default, Java is installed in “C:\Program Files\Java\jre version\bin” in case you have changed the location of installation, then add that path
- Click on OK button and now to check if the installation is done correctly or not, open command prompt and type “java -version“
- You can see that Java is running on your machine. In order to make sure whether the compiler is setup, type javac in command prompt. You will see a list related to javac.
Advertisements