Hey @Henna, Go to this page
![](https://www.edureka.co/community/?qa=blob&qa_blobid=16949142233582073177)
![](https://www.edureka.co/community/?qa=blob&qa_blobid=11461998726012650529)
Accept the license and proceed by downloading it
Once it's downloaded, run the .exe file to install it
![](https://www.edureka.co/community/?qa=blob&qa_blobid=12462342620251481180)
Click on next and then finish
![](https://www.edureka.co/community/?qa=blob&qa_blobid=8240056413992179273)
Now you'll have to set the Environment path in java
Right click on my computer -> properties -> Advanced System Settings
Click on Environment variables
![](https://www.edureka.co/community/?qa=blob&qa_blobid=3027666493931223729)
Click on New, Add variable name as PATH and set the variable value as the path where the JDK is installed
![](https://www.edureka.co/community/?qa=blob&qa_blobid=14073851431799356708)
Follow similar steps to set CLASSPATH
![](https://www.edureka.co/community/?qa=blob&qa_blobid=17759109757991316929)
Click on OK and close it
Open command prompt and type javac, you will now see that Java has been installed
![](https://www.edureka.co/community/?qa=blob&qa_blobid=8411144951490849895)