Step 1 :
Download JDK : http://www.oracle.com/technetwork/java/javase/downloads/index.html and install it .
Step 2 :
Set the path on environment path . To do this My Computer – > Properties -> System variable -> Edit Path , click new and past jre bin path location .
Check that the directory the keytool executable is in is on your path. (For example, on my Windows 7 machine, it’s in C:\Program Files (x86)\Java\jre6\bin.)
- keytool path may be different . find the keytool and select the parent directory .