'keytool' is not recognized

abdo20 Posted messages 2 Status Membre -  
 rasdab -
Hello,

I want to obtain an API key for Google Maps for Android development purposes.
To do this, I need to obtain a digital signature; when I type the 'keytool' command in the cmd,
it tells me that it is not recognized as an internal command...
the PATH variable contains system 32.
Thank you for your response....
Configuration: Windows XP Firefox 3.5

4 réponses

marriouma
 
It's a bit of a late response, but for those who have a bug with the keytool command and get the reply: 'keytool' is not recognized....., you need to search for the keytool executable on your machine (using your search engine in start ;) ), navigate to the root where this executable is located (using the command: cd "yourpath"), and restart the keytool command!!
So easy but not obvious!! :)
It works perfectly for me!! Good luck!
10
galou00 Posted messages 662 Status Membre 80
 
In fact, more precisely, you need to go to the folder of your JRE or JDK:

In a normal installation of a JRE, you should navigate to the following folder using the command:
cd c:\program files\java\jre6\bin

If your installation is not similar, the main thing is that you navigate to the "bin" folder of your JRE.
Then you can execute the famous "keytool" command.
If you have installed a JDK, the command might look like this:
c:\sun\SDK\jdk\bin

I hope this helps some people.
0
chuky
 
Hello,
Thank you, it works.
0
Dr.nitro
 
when I type this command, it generates a Certificate Fingerprint (SHA1)!!!
0
Ghostwriter
 
Thank you very much!
0
galou00 Posted messages 662 Status Membre 80
 
Dr.nitro, I think we need to add the -n parameter to the command to see the MD5 and not the SHA1 hash.
0
theo
 
I'm also stuck on the same step, how do I get into the kernel?
0
hamagil Posted messages 5564 Status Membre 724
 
https://www.google.fr/search?q=commande+keytool&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a&gws_rd=ssl
--
to every problem its solution.
a problem can have multiple solutions/multiple problems can have a solution
-2
abdo20 Posted messages 2 Status Membre
 
Hello,
I've tried but I can't find a solution...
-2