Java installation for Windows

You can install Java with Java install program.
But you need to set JAVA_HOME or JRE_HOME on system environment parameter.
Please note Java 8 is recommended currently.

install Java

Ref. https://www.oracle.com/technetwork/java/index.html

* Java is Oracle's trademark.