Java is a general purpose object oriented programming Language.As of 2017 java is a most popular programming language for beginners as well as for developers.Java application are compiled to byte code that can run on any Java Virtual Machine(JVM). Now, JRE( Java Runtime Environment ) contains JVM, and JDK( Java Development key ) contains JRE.
So, JVM is present in JDK. So, to execute a java program you have to download and install JDK on your system. Now, JDK is platform dependent ( i.e, JDK is different for different operating systems ). So, you can check How to Download and Install JDK on windows 7 (32/64 bit ).
Process of Downloading JDK on your system-
a) open any browser and search as Java SE free download as follow..
b) Click on first link and a new window will open to you
c) Click on image of Java Platform (JDK) and now you can see
d) Accept the License Agreement by clicking on the radio button of Java SE Development Kit 8u121's Accept License Agreement. e) Now you can download JDK on your system according to your operating system by clicking on the link.