Java environment variable configuration in Windows
In this blog, I will show you how to configure Java environment variables in Windows without having admin access.
- Download the Java zip file with respect to your system — https://jdk.java.net/archive/
- Extract the zip file and open the JDK directory.
- Copy the JDK path.
- In the Windows search, search for “Edit environment variable for your account” and open it.
5. Click on New under User variables.
6. Enter the Variable name as JAVA_HOME and the Variable value is the JDK path that you have copied in step-3.
7. Once you provided the Variable details, click ‘OK’. It will add the JDK path to your User variables
8. Click on Path → Edit →New
9. Open the JDK path that you copied in step-3. Once it’s opened, you will see a bin directory. Open it and copy the bin path and paste it into the Environment variable path as below and click ok.
10. Once you have added both the JDK and bin path to User Variables click ‘OK’.
Get Adarsh’s stories in your inbox
Join Medium for free to get updates from this writer.
11. Restart your system and open the command prompt, and check if the Java configuration is completed successfully as below.
Command → java -version
This concludes the blog for Java environment variable configuration in Windows. Please follow my blogs for more blogs.
If you have any doubts, please let me know in the comment session below. Thank you.







