In this tutorial I’m going to learn how to install java JDK on windows in very easy way. so follow this tutorial i have demonstrate in very easy way.
First step open this url :- https://www.oracle.com/java/
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-61-1024x377.png)
Go to windows tab and click on installer
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-62-1024x380.png)
Next go to downloaded file and install
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-63-1024x576.png)
After download file go to c drive program files
C:\Program Files\Java\jdk-20
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-64-1024x270.png)
Next go to
Edit the system variables
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-65-1024x576.png)
C:\Program Files\Java\jdk-20
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-66.png)
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-67.png)
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-68-1024x409.png)
Next click on new
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-69-1024x282.png)
And paste below code
C:\Program Files\Java\jdk-20\bin
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-70-1024x327.png)
Next go to
C:\Program Files\Common Files\Oracle\Java\javapath
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-71-1024x276.png)
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-72-1024x318.png)
Paste here copied code.
Now check the java version
Java --version
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-73.png)
Next to check java complier version
javac --version
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-74.png)
All configuration is set successfully 👍👍