I am trying to do the release process of an android app, but am confused about the keytool and jarsigner.
The official doc says :
If you are developing on a version of Linux that originally came with GNU Compiler for Java, make sure that the system is using the JDK version of Keytool, rather than the gcj version. If Keytool is already in your PATH, it might be pointing to a symlink at /usr/bin/keytool. In this case, check the symlink target to be sure it points to the Keytool in the JDK.
I am working on an Ubuntu 14.04, with environment variable
JAVA_HOME
=/home/faizal/DEV/jre1.7.0_55
. There is akeytool
inside it'sbin
subfolder. How do i know if this is the JDK or gcj version? I can't really remember where i downloaded the JRE from.Keytool is already in my path because i had added
$JAVA_HOME/bin
. I could not find anysymlink
with the nameKeytool
in/usr/bin
using the commandls -lR | grep keytool
. But i don't think i have a JDK on my system. Do i need to get it?I could not find
jarsigner
in$JAVA_HOME
. Where can i get it from?