Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is jarsigner?

Tags:

java

android

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.

like image 353
mimicocotopus Avatar asked Aug 27 '12 02:08

mimicocotopus


People also ask

Where can I find Jarsigner in Linux?

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.

What is Jarsigner in Java?

Description. The jarsigner tool has two purposes: To sign Java Archive (JAR) files. To verify the signatures and integrity of signed JAR files.

What is Alias Jarsigner name?

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.


1 Answers

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.

like image 63
Matt Wolfe Avatar answered Sep 17 '22 17:09

Matt Wolfe