/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/ is in gcj-4.8-jre-headless 4.8.2-19ubuntu1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/gcj-dbtool
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/gij
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/java
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/keytool
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/orbd
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/rmid
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/rmiregistry
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/tnameserv
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/amd64/
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/amd64/client/
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/amd64/client/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/amd64/server/
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/lib/rt.jar