1) Find the directory where java is installed. Let us assume it is C:\java. Then go to C:\java\bin. If you find jar.exe in this bin directory, then you are good.
2) Set the path to the java bin directory.
3) Then try to type jar in your command prompt.
To set your path: there are several ways.
1) To set it from command prompt, in the command prompt type
SET PATH=%PATH%;C:\java\bin
2) Then hit enter
3) Note: if you have installed java in a different directory type that directory name. I have just provided C:\java as an example.
If you don’t find the jar.exe in your java’s bin directory, then you need to uninstall java and install the JDK (not just the JRE). You need JDK for jar.
You must have a copy of the Java Runtime Environment (JRE) on your system to run Java applications and applets. To develop Java applications and applets, you need the Java Development Kit, which includes the JRE
Here is the link to download java.
http://java.sun.com/javase/downloads/index.jsp