From: John Poole <jlpoole@pon.net>
To: java@gcc.gnu.org
Subject: Re: GCCMain not found & test suite errors fatal?
Date: Thu, 31 Dec 2009 17:17:00 -0000 [thread overview]
Message-ID: <4B3CDCA7.70808@pon.net> (raw)
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 #
next reply other threads:[~2009-12-31 17:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 17:17 John Poole [this message]
2010-01-03 16:28 ` Andrew Haley
2010-01-03 18:14 ` John Poole
2010-01-03 18:31 ` Andrew Haley
2010-01-03 18:45 ` John Poole
2010-01-03 19:00 ` Andrew Haley
[not found] ` <7230133d1001040328x4557cd0cn8eba6443e8c74616@mail.gmail.com>
2010-01-04 11:41 ` Andrew Haley
2010-01-05 2:43 ` John Poole
2010-01-05 10:17 ` Andrew Haley
2010-01-06 16:39 ` RFD: Precompile ecj [Was Re: GCCMain not found & test suite errors fatal?] Andrew Haley
2010-01-06 17:01 ` David Daney
2010-01-06 17:26 ` Andrew Haley
-- strict thread matches above, loose matches on Subject: below --
2009-12-31 14:36 GCCMain not found & test suite errors fatal? John Poole
2009-12-31 14:49 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B3CDCA7.70808@pon.net \
--to=jlpoole@pon.net \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).