I have the Android SDK installed on both a Linux machine using open SuSE 12.1. I've used both machines to successfully build Android apps many times and sign them both with a debug key for testing and a release key from my own keystore, so it should be somewhere on each machine.
Using the command
jarsigner
Returns a command not found error on both machines, however. I've looked in the Android SDK folder, JDK folder on Windows, and /usr/lib64/jvm/ but it's not anywhere I've looked.
I assume it must be under a different name. I've also run:
find -name jarsigner
over the whole system on the Linux box with no success.
The jarsigner tool is bundled with every Java JDK install, is found in the JDK's bin directory, and is likely accessibly directly through a command prompt or terminal window so long as the JDK's bin directory has been put on your operating system's PATH.
Description. The jarsigner tool has two purposes: To sign Java Archive (JAR) files. To verify the signatures and integrity of signed JAR files.
All keystore entities are accessed with unique aliases. When you use the jarsigner command to sign a JAR file, you must specify the alias for the keystore entry that contains the private key needed to generate the signature. If no output file is specified, it overwrites the original JAR file with the signed JAR file.
It's in the bin folder of your java JDK install (Java SE). If you only have the JRE installed you probably don't have it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With