This Video describes on the steps to install and configure java on a windows system. Below are the steps:
1. Download the latest version from the below link
https://www.oracle.com/in/java/techno...
2. Run the Installer.
3. Set the following Environmental Variables
path = "Path to the bin directory"
JAVA_HOME = "path to the JDK directory"
4. Once the Environmental Variables as specified above are set we need to run the below command to verify if the java is installed properly or not.
open command prompt and then type the below command
java -version