basic compilation question

Alexandre Petit-Bianco apbianco@cygnus.com
Fri Dec 15 14:17:00 GMT 2000


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


More information about the Java mailing list