Problems compiling with gcj
Mike Harrold
mharrold@cas.org
Thu Jan 18 20:06:00 GMT 2001
>
> >>>>> "Mike" == Mike Harrold <mharrold@cas.org> writes:
>
> Mike> [miko@mah21hpc2 src]$ gcj Test.java
> Mike> Test.java:0: Can't find default package `java.lang'. Check the CLASSPATH environment variable and the access to the archives.
> Mike> 1 error
>
> This means that gcj can't find (for 2.95) libgcj.zip.
>
> Did you install libgcj with the same --prefix as gcj?
> If not then that is the problem.
> If so we'll have to look further.
>
> Tom
>
I'd installed libgcj as an RPM (bad idea I guess). I've now
found some (gcc-2.95.2-compatible) source, and will work on
that and see if I can get it to work that way :)
/Mike
More information about the Java
mailing list