cannot find keytool on a mac

Ian picture Ian · Sep 3, 2011 · Viewed 37k times · Source

I am trying to find my keytool so that I can make keys to sign my app and to register for the google maps api

I'm beginning to think that I don't actually have it on my machine

If anyone could help point me in the right direction that would be great

Answer

Reefwing picture Reefwing · Jul 15, 2014

To answer the original question, on my Mac, keytool is found at /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/keytool.

You can locate the Java home directory using the /usr/libexec/java_home command line tool on Mac OS X 10.5 or later.