'keytool' is not recognized as an internal or external command

Leave a Comment
When you run  "keytool" command from windows command line tool from other java bin directory it throws following error.

'keytool' is not recognized as an internal or external command
'keytool' is not recognized as an internal or external command

In order to successfully run the "keytool" command, you must change your working directory to java bin folder. Use following command to change working directory..

Note : Please find your Java bin folder under program files/Java folder..

Mine in the following directory

cd C:\Program Files\Java\jdk1.8.0_65\bin

or

cd C:\Program Files\Java\jre1.8.0_65\bin

0 comments:

Post a comment