Matthias Klose pointed this bug out to me. I looked at it a little. The gij in gcc 3.1 (current cvs trunk) does something that resembles what the JDK `java' does. (Output appended.)
Tom creche. gij xcvae Exception in thread "main" java.lang.NoClassDefFoundError: xcvae at 0x402513b1: java.lang.Throwable.Throwable(java.lang.String) (/x1/egcs/install/lib/libgcj.so.2) at 0x40245374: java.lang.Error.Error(java.lang.String) (/x1/egcs/install/lib/libgcj.so.2) at 0x4024752c: java.lang.LinkageError.LinkageError(java.lang.String) (/x1/egcs/install/lib/libgcj.so.2) at 0x40248a14: java.lang.NoClassDefFoundError.NoClassDefFoBFD: Dwarf Error: Invalid or unhandled FORM value: 14. BFD: Dwarf Error: Could not find abbrev number 104. undError(java.lang.String) (/x1/egcs/install/lib/libgcj.so.2) at 0x402b8056: gnu.gcj.runtime.FirstThread.run() (/x1/egcs/install/lib/libgcj.so.2) at 0x402364ab: _Jv_ThreadRun(java.lang.Thread) (/x1/egcs/install/lib/libgcj.so.2) at 0x40204f3f: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/x1/egcs/install/lib/libgcj.so.2) at 0x08048e51: ?? (/usr/src/bs/BUILD/glibc-2.1.3/csu/init.c:0) at 0x4066e9cb: __libc_start_main (/lib/libc.so.6) at 0x08048929: _start (??:0)