- Trending Categories
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.
- Related Articles
- How to configuring Java Environment on Windows?
- How to install JDK in Windows and set up the environment variables?
- What Environment Variables are required to set in Java Applications?
- How to set python environment variable PYTHONPATH on Windows?
- How to set Java Path in Linux OS?
- How to set Java Path in Mac OS?
- How to Set environment variables using PowerShell?
- How to set JAVA_HOME for Java in Mac OS?
- How to set JAVA_HOME for Java in Windows?
- What environment variables do I need to set up before I start running Java programs on my machine?
- How to Lock Your Hard Drive on Windows OS?
- How to configuring Java Environment on Linux?
- Retrieve environment variables with Java Map Collection
- How do we set the Java environment variable in cmd.exe?
- How to enable or disable local user on Windows OS using PowerShell?

Advertisements