Jarsigner is not recognized internal or external command

Leogreen picture Leogreen · Oct 14, 2015 · Viewed 28.1k times · Source

i'm trying to check if my signed release apk is really signed. But following some tutorials, or the single i've found .

$ jarsigner -verify -verbose -certs my_application.apk

I am receiving this message : "Jarsigner is not recognized internal external command".

Remembering that my apk is in the same folder of jarsigner.exe I dont know what to do.

Answer

Mohamad Al Asmar picture Mohamad Al Asmar · Dec 16, 2015

Solution: Add android jdk bin folder to your path in environment variables.

Instructions:

1- Right click on "This PC" > right-click Properties > Advanced system settings > Environment Variables > select PATH then EDIT.

2- Add your jdk bin folder path to environment variables, it should look like this:

"C:\Program Files\Java\jdk1.8.0_40\bin".