Hi Deepika,
you will need a Java Runtime Environment (JRE) to run java programs. But if you want to learn java and develop your own programs, then you will need a Java Development Kit (JDK). The JDK includes the JRE and the java bytecode compiler to compile your sourcecode.
You can download both
here.
Yours,
Benny