Please go to following link https://www.java.com/en/download/manual.jsp , download the java installation file and run it.
To set the JRE_HOME or JAVA_HOME variable:
If you didn’t change the path during installation, it’ll be something like C:\Program Files\Java\jdk1.8.0_65
You can also type where java
at the command prompt.
JAVA_HOME
if you installed the JDK (Java Development Kit)JRE_HOME
if you installed the JRE (Java Runtime Environment)run following command in cmd terminal:
java -version
If java is successfully installed, the terminal should show something as following(actual version number might be different as per your installation time).
java version “1.8.0_202”
DownLoad Url osoyoo.com