To compile and run java program you need JDK that is java development kit installed in your computer. You can download JDK from oracle website or from here by clicking the following link
http://www.mediafire.com/download/z6mtnmqwwbjwcfq/jdk-8u20-windows-x64.exe (for 64-bit)
After installing jdk you need to set variable path. In order to do that please follow the following steps:
Goto C:\ drive and open program files and in that open java folder. In that you will see jdk1.8.0_20 folder. Open it. In this you will see bin folder open it up and copy its path.
Now right click on my computer...
