gcc4-java: ecj1 not working

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Tue Oct 6 03:30:00 GMT 2009


Dave,
With gcc4-java 4.3.4-1:
$ gcj-4 -C HelloWorld.java
Exception in thread "main" java.lang.NoClassDefFoundError: 
org.eclipse.jdt.internal.compiler.batch.GCCMain
 at gnu.java.lang.MainThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jdt.internal.compiler.batch.GCCMain not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at gnu.java.lang.MainThread.run(Unknown Source)
OTOH:
$ gij-4 -jar ecj-4.3.jar HelloWorld.java
$ gij-4 HelloWorld
Hello World!
$ gcj-4 --main=HelloWorld -o HelloWorld.exe HelloWorld.class
$ ./HelloWorld.exe
Hello World!
Something wrong with ecj1.exe?
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /