Accepted answer

keytool is part of the standard java distribution.

in a windows 64-bit machine, you would normally find the jdk at

c:\program files\java\jdk1.8.0_121\bin

it is used for managing keys and certificates you can sign things with, in your case, probably a jar file.

if you provide more details of what you need to do, we could probably give you a more specific answer.


if you have java installed of course keytool is in there. what you need to do is to add it on your path variable.


if you have android installed in windows, you will also find it here: c:\program files\android\jdk\microsoft_dist_openjdk_1.8.0.25\jre\bin


it is in path/to/jdk/bin. make sure that $java_home is defined, and $java_home/bin is added to $path, or else the 'keytool' command won't be recognized when called.


here: c:\program files\java\jre7\bin it is an exe keytool.exe


if you are working with a mac... the keytool is part of the java sdk and can be found in the following location /system/library/java/javavirtualmachines/[version].jdk/contents/home/bin/keytool


keytool it's a binary file into the jdk folder ... just add your jdk as environment variable by adding the following line

c:\program files\java\jdk1.8.0_65\bin


for me it turned out to be in c/program files/java/jdk1.7.0_25/bin (windows 8). a more general answer to this question is that it will most likely be in the bin sub directory of wherever your jdk is installed.


keytool is a tool to manage (public/private) security keys and certificates and store them in a java keystore file (stored_file_name.jks).
it is provided with any standard jdk/jre distributions.
you can find it under the following folder %java_home%\bin.

Related Query

More Query from same tag