This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found
- From: "jlpoole at pon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 18:30:23 -0000
- Subject: [Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found
- References: <bug-42409-18569@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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