This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: basic compilation question
- To: Damani Walton <damani at world dot std dot com>
- Subject: Re: basic compilation question
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Fri, 15 Dec 2000 14:17:23 -0800 (PST)
- Cc: java-discuss at sources dot redhat dot com
- References: <200012152140.QAA26175@world.std.com>
- Reply-To: apbianco at cygnus dot com
Damani Walton writes:
> Is it usual for this to happen? I would think that gjc would be
> compiled knowing where to look for its core packages. Is the solution
> just to set CLASSPATH to point to some standard place or is this
> indicative of a problem with the installation?
Try:
$ which gcj
It should print something like <some_place>/bin/gcj. gcj will expect
libgcj.zip (libgcj.jar for a recent compiler) to be in <some_place>/share.
If it's not in there, you need to set CLASSPATH to point to an
existing libgcj.zip file. So you most likely should ask your toolsmith
whether libgcj was built and installed on your system; and if yes, where.
./A