/usr/lib/jvm/java-1.5.0-gcj-5-amd64/ is in gcj-5-jre-headless 5.3.1-14ubuntu2.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/gcj-dbtool
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/gij
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/java
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/keytool
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/orbd
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/rmid
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/rmiregistry
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/tnameserv
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/gcj-dbtool
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/gij
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/java
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/keytool
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/orbd
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/rmid
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/rmiregistry
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/bin/tnameserv
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/amd64/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/amd64/client/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/amd64/client/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/amd64/server/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre/lib/rt.jar
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/tools.jar
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/java.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/keytool.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/orbd.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/rmid.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/rmiregistry.1
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/tnameserv.1.gz