/usr/lib/jvm/java-1.5.0-gcj-4.6/bin/keytool is in gcj-4.6-jre-headless 4.6.3-1ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/jvm/java-1.5.0-gcj-4.6/bin/../../../../bin/gkeytool-4.6
/usr/lib/jvm/java-1.5.0-gcj-4.6/bin/../../../../bin/gkeytool-4.6