NewBie question: Segmentation faults
Alexis Denis
adenis@EE.UManitoba.CA
Sat Apr 1 00:00:00 GMT 2000
Tom Tromey wrote:
> Your best bet is simply to unset CLASSPATH.
I get the following:
HelloWorld.java:0: Can't find default package `java.lang'. Check the
CLASSPATH environment variable and the access to the archives.
1 error
>
> Failing that, point it directly at libgcj.zip.
I then did:
export CLASSPATH=/usr/local/share/libgcj.zip
It compiles fine but it still segfaulted. Do you think I should compile gcj
myself?
> If that fails, send a stack trace.
Sorry how do I do that?
Alexis
More information about the Java
mailing list