The xjavac contains a classpath workaround for various JVMs, and this workaround is also required for libgcj. The following patch fixes: --- XJavac.java~ 2005-04-21 10:49:50 +0100 +++ XJavac.java 2005-04-21 10:59:07 +0100 @@ -97,7 +97,8 @@ else if( (vendor.indexOf("SUN") >= 0) || (vendor.indexOf("BLACKDOWN") >= 0) || (vendor.indexOf("APPLE") >= 0) || - (vendor.indexOf("HEWLETT-PACKARD") >= 0)) { + (vendor.indexOf("HEWLETT-PACKARD") >= 0) || + (vendor.indexOf("FREE SOFTWARE FOUNDATION") >= 0)) { // we're on an SUN 1.4; fiddle with the bootclasspath. // since we can't eviscerate XML-related info here, // we must use the classpath