/usr/lib/jvm/java-1.5.0-gcj-5-amd64/ is in gcj-5-jdk 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/appletviewer
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/gcj
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/jar
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/jarsigner
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/javac
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/javadoc
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/javah
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/jdb
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/native2ascii
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/rmic
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/bin/serialver
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/gcj
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/jawt.h
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/jni.h
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/linux/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/linux/jawt_md.h
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/include/linux/jni_md.h
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/libgcj-tools.so
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/libgcj.so
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/lib/libgij.so
/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/appletviewer.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/jar.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/jarsigner.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/javac.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/javadoc.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/javah.1.gz
/usr/lib/jvm/java-1.5.0-gcj-5-amd64/man/man1/serialver.1.gz