In this Tutorial I will explain about how to install java 12 in windows.
First you need to download the latest java 12 from below link
Once you downloaded the zip file , extract the file you can see folders like this
Then go to bin folder ,copy the path as shown below.
Go yo System right click on Properties ,click on advanced system settings
Click on environmental variables ,go to path variable click on edit
Then click on previously entered path and click on save.
Now come to command prompt and enter "java -version" ,then you should see jdk 12 installed properly in your windows machine.
For step by step process please follow the below tutorial