/usr/lib/jvm/java-1.5.0-gcj is in gcj-jre-headless 4:4.8.2-1ubuntu6.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64