This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ecj-bootstrap fails if java-gcj-compat is not installed


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]