To start with java programming you need first to install java JDK for developers.
this kit will help you develop java application,compile and debug.
Step 1: Download the Official JAVA SE JDK for Developers
In these instructions, you run the self-installing executable file to unpack and install the JDK. As part of the JDK, this installation includes an option to include the public Java Runtime Environment. (The JDK also contains a private JRE for use only by its tools; see "Private Versus Public JRE" for more information.)
"Downloading the Installer"
Goto download java jdk
click on JAVA JDK to redirect you to the download page.
Step 2: Choose Your OS
Accept License Agreement then click on the download link according to your OS.
Download the installer then start installing JAVA JDK.
Step 3: Finishing Installation.
after finishing installing the java JDK, you must add an enveronment value to your system.
this step change according to your OS.
if you have any problem with any step watch the video.