To download JDK, go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Click on the leftmost icon "Java -- Java Platform (JDK 7u4)" (or the latest available update). 
Accept the license agreement, then click on the installation file appropriate for your system, for
example, jdk-7u4-windows-x64.exe for 64-bit Windows.
Click Save in the dialog box that pops up and save the
JDK installation file (about 92 MB) to the desktop or a folder of your choice.
JDK includes the compatible version of JRE (Java Run-Time environment).