[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found

jlpoole at pon dot net gcc-bugzilla@gcc.gnu.org
Sun Jan 3 18:30:00 GMT 2010



------- Comment #4 from jlpoole at pon dot net  2010-01-03 18:30 -------
I think I found the problem: 

the compiler is using an incorrect path, e.g. "/usr/share/java", to find the
ecj.jar file and the other jar files,   libgcj-4.5.0.jar 
libgcj-tools-4.5.0.jar, when it should have used
"/usr/local/gcj/usr/share/java".
See line 172 in the attachment gcj_fails-looking_for_ecj_in_wrong_path.txt      

Recall, I had installed using the DESTDIR parameter:
  make DESTDIR=/usr/local/gcj install
in order not to trash my Gentoo GCC built for my ARMv5t platform.

My work-around was to copy the three jar files under the
/usr/local/gcj/usr/share/java directory (where make install had placed them) to
/usr/share/java.

My work-around run is attached (gcj_ecj_moved.txt) to this bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42409



More information about the Gcc-bugs mailing list