From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28210 invoked by alias); 3 Jan 2010 18:30:23 -0000 Received: (qmail 28191 invoked by uid 48); 3 Jan 2010 18:30:23 -0000 Date: Sun, 03 Jan 2010 18:30:00 -0000 Message-ID: <20100103183023.28190.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/42409] org.eclipse.jdt.internal.compiler.batch.GCCMain not found In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jlpoole at pon dot net" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2010-q1/txt/msg00003.txt.bz2 ------- 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