OK, I have this code: public class Test { public static void main(String[] args) { System.out.println("Hi."); } } Saved in Test.java of course. Works fine with javac/java. Watch gcj: erwin ~$ gcj --main=Test Test.java /tmp/ccabvlAqmain.o: In function `main': /tmp/ccglnVjDmain.i(.text+0x24): undefined reference to `_Jv_Compiler_Properties' collect2: ld returned 1 exit status I am stumped. This is on Alpha.