1) Download the installer of Java from any of these links:
https://www.java.com/ES/download/ (Click on "Java Download" then "Agree and Start Free Download")
https://drive.google.com/open?id=1QmgtpLFojKBymg7zagS73RjB84QwmqIb
2) Once done downloading, double-click the installer from its saved path
3) On the Java Setup - Welcome Page, click the Install button to initialize the installation
4) Wait for the installation to be completed
5) Click "Close" once installation is finished