Keytool is not recognized as an internal or external command

后端 未结 7 1081
独厮守ぢ
独厮守ぢ 2021-02-11 14:20

I am trying to discover the list of trusted authorities in my Java Runtime using the instructions in this article. When I typed the command below:

C:\\ColdFusion         


        
7条回答
  •  青春惊慌失措
    2021-02-11 14:49

    I finally solved the problem!!! You should first set the jre path to system variables by navigating to::

    control panel > System and Security > System > Advanced system settings 
    

    Under System variables click on new

    Variable name: KEY_PATH
    Variable value: C:\Program Files (x86)\Java\jre1.8.0_171\bin
    

    Where Variable value should be the path to your JDK's bin folder.

    Then open command prompt and Change directory to the same JDK's bin folder like this

    C:\Program Files (x86)\Java\jre1.8.0_171\bin 
    

    then paste,

    keytool -list -v -keystore "C:\Users\user\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android   
    

    NOTE: People are confusing jre and jdk. All I did applied strictly to jre

提交回复
热议问题