开发者

ERROR C:\>"Program Files\java\jdk1.5.0_22\bin>keytool -genkey -keystore myStore -keyalg RSA" [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the interne开发者_如何转开发t. For help making this question more broadly applicable, visit the help center. Closed 11 years ago.

I am getting following error when try to run the above command '"Program Files\java\jdk1.5.0_22\bin>keytool -genkey -keystore myStore -keyalgRSA"' is not recognised as an internal or external command,operable program or batch file.


This is quite obvious from the command you are attempting to run:

"Program Files\java\jdk1.5.0_22\bin>keytool -genkey -keystore myStore -keyalgRSA"

which is hardly a valid executable. Use quotes only to reference the executable:

"C:\Program Files\java\jdk1.5.0_22\bin\keytool.exe" -genkey -keystore myStore -keyalgRSA


  1. Go to command line (cmd) in windows (that's pretty obvious).
  2. Type this C:\Program Files\java\jdk1.5.0_22\bin>keytool -genkey -keystore myStore -keyalg RSA (see, I removed the quote)`.

Or enclose everything with quotes (and remove the >):

"C:\Program Files\java\jdk1.5.0_22\bin>keytool -genkey -keystore myStore -keyalg RSA”

Alternatively, use Vineet Reynolds' advice. :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜