Step 1: Download JDK from official website.
Link : https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html

Step 2: Install Downloaded JDK in to system.
Step 3: Set the java path in environment variable.
Step 4: Verify the JDK Installation.
Please check below video for more info..