NewBie question: Segmentation faults

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


>>>>> "Alexis" == Alexis Denis <adenis@EE.UManitoba.CA> writes:

Alexis> I do the following:
Alexis> gcj --main=HelloWorld -o HelloWorld HelloWorld.java
This is right.
Alexis> my CLASSPATH variable points to:
Alexis> /home/adenis/java/classes
Alexis> in which I uncompressed libgcj.zip (as recommended in the FAQ 5.1)
The FAQ doesn't recommend uncompressing libgcj.zip.
Alexis> Everytime I run the program HelloWorld I get a core dump.
Your best bet is simply to unset CLASSPATH.
Failing that, point it directly at libgcj.zip.
Do this before compiling. your program.
If that fails, send a stack trace.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /