From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26410 invoked by alias); 31 Dec 2009 17:17:36 -0000 Received: (qmail 26402 invoked by uid 22791); 31 Dec 2009 17:17:35 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mx.pon.net (HELO athena.pon.net) (216.229.96.251) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 Dec 2009 17:17:29 +0000 Received: from [192.168.168.2] (unverified [208.106.107.248]) by athena.pon.net (Vircom SMTPRS 4.7.840.5) with ESMTP id for ; Thu, 31 Dec 2009 09:17:29 -0800 X-Modus-BlackList: 208.106.107.248=OK;jlpoole@pon.net=OK X-Modus-RBL: 208.106.107.248=OK X-Modus-Trusted: 208.106.107.248=NO X-Modus-Audit: FALSE;0;0;0 Message-ID: <4B3CDCA7.70808@pon.net> Date: Thu, 31 Dec 2009 17:17:00 -0000 From: John Poole Reply-To: jlpoole@pon.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b2pre Thunderbird/3.0 MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Re: GCCMain not found & test suite errors fatal? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00072.txt.bz2 You wrote: >> I suggest you grab ecj.jar and put it in install/share/java. That >> should get you a fully working gcj. Thank you, Andrew, I had already tried to do so. Previously I learned the hard way about the ecj.jar issue, so I ran the.../contrib/download_ecj script (which downloaded the ecj.jar from the predefined site) to install the ecj.jar into the trunk directory, I then ran the configuration again so the ecj.jar would be staged into my target for "make ... install". In fact, I do have ecj.jar installed in my target tree: /usr/local/gcj. I even tried adding it to the include parameter and still get the same result. Maybe I'm not using the correct parameter syntax?? plug local # pwd /usr/local/gcj/usr/local plug local # find . -name '*ecj*.jar' ./share/java/ecj.jar plug local # export LD_LIBRARY_PATH=/usr/local/gcj/usr/local/lib plug local # plug local # ./bin/gcj -I./lib/:./share/java/ecj.jar -c /var/work/gcj/HelloWorld.java [B gcj: [B: No such file or directory Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain at gnu.java.lang.MainThread.run(MainThread.java:100) 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(URLClassLoader.java:531) at java.lang.ClassLoader.loadClass(ClassLoader.java:452) at java.lang.ClassLoader.loadClass(ClassLoader.java:387) at gnu.java.lang.MainThread.run(MainThread.java:96) plug local #