This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ecj-bootstrap fails if java-gcj-compat is not installed
- From: Tom Tromey <tromey at redhat dot com>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: 350542 at bugs dot debian dot org, Daniel Schepler <schepler at math dot berkeley dot edu>, java at gcc dot gnu dot org
- Date: 09 Feb 2006 11:35:22 -0700
- Subject: Re: ecj-bootstrap fails if java-gcj-compat is not installed
- References: <17387.27195.861250.757843@gargle.gargle.HOWL>
- Reply-to: tromey at redhat dot com
>>>>> "Matthias" == Matthias Klose <doko@cs.tu-berlin.de> writes:
Matthias> explicitely adding -bootclasspath
Matthias> /usr/share/java/libgcj-4.0.jar works around that failure. Is
Matthias> this the right thing to do, or is the real problem that ecj
Matthias> derives the bootclasspath implicitely from the runtime used
Matthias> to run ecj?
My reading of the ecj code is that it uses java.home to find rt.jar.
I would suggest either compiling a default into ecj, or always
requiring java-gcj-compat. For Fedora we do the latter.
Tom