This is the mail archive of the java-discuss@sourceware.cygnus.com 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: Segmentation faults



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




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