All- When I tried to open keytool (by double-clicking it in my bin file of my JDK), the window pops up but than closes really fast. I looked at this question and tried to run it from the command line but was met with this
Did I type in everything OK or is there something else I can try?
Asked
Active
Viewed 4,881 times
1
2 Answers
6
You're supposed to do a cd
to C:\Program Files\Java\jdk1.7.0_04\bin
, and type in keytool.exe
to run the program
Or simply remove the cd
and it will work fine

Zerhinne
- 1,987
- 2
- 22
- 43
-
I am a little confused. So like cd C:\Program Files\Java\jdk1.7.0_04\bin (return) keytool.exe? – ninge Jul 03 '12 at 01:27
-
Yes. `cd` changes directory. First you change to the directory containing the tool, then run it. – Geobits Jul 03 '12 at 01:44
-
@androdcurious Yes, that is correct – Zerhinne Jul 03 '12 at 02:43
1
I suggest that if you are not comfortable with the command line tools in Java, it might be good to have an Eclipse plugin that does the work behind the scenes.
Here is one Eclipse plugin for keytool operations that has worked well for me: http://keytool.sourceforge.net/

Romin
- 8,708
- 2
- 24
- 28