To develop and execute a java program, we need an environment that is JDK(Java Development Kit). So first we have to install JDK (latest version is JDK1.8) in system. So let’s see how to install !!
First we download jdk1.8 from Google.
After downloading, install JDK. Let’s see the following screen shots for installation: