http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45773
Summary: gcj fails to compile java Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu Host: x86_64-apple-darwin10 Target: x86_64-apple-darwin10 Build: x86_64-apple-darwin10 Current gcc trunk, r164573, patched with... http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01914.html to solve the darwin bootstrap, fails to compile java files. The simple testme.java file... public class testme { public static void main(String args[]){ System.out.println("Hello"); } } fails to compile with... gcj --main=testme -O testme.java Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain at gnu.java.lang.MainThread.run(libgcj.12.dylib) Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/sw/share/java/ecj/ecj.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.12.dylib) at java.lang.ClassLoader.loadClass(libgcj.12.dylib) at java.lang.ClassLoader.loadClass(libgcj.12.dylib) at gnu.java.lang.MainThread.run(libgcj.12.dylib) -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.