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]

Re: Newbie question re CLASSPATH and gcj


Campbell, Peter K wrote:

>As such I've pulled down the rpms for gcc 3.0.1, gcc-java, cpp libgcj and installed them on a linux box.  Everything seems to have installed ok now, and I can get gij running on sun created class files (although at only half the speed)
>

Yeah. The interpreter (gij) is very slow, its not really meant to be a
comparable Java replacement by itself, at least not yet.

>I keep getting told that I don't have the appropriate files in my CLASSPATH
>- i.e.:
>	Can't find default package `java.lang'.  Check the CLASSPATH
>environment variable and the access to the archives.
>

Do you have a libgcj.jar? It should be installed in a "share" directory
relative to the compiler itself., eg /usr/share/libgcj.jar. Maybe you
need to install a "libgcj-devel" RPM to get it?

You are correct in that you shouldn't need to put libgcj.jar on the
classpath.

regards

Bryce.



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