This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: NewBie question: Segmentation faults
- To: Alexis Denis <adenis at EE dot UManitoba dot CA>
- Subject: Re: NewBie question: Segmentation faults
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Fri, 18 Feb 2000 10:29:38 -0800 (PST)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <38AD809F.C03C535@ee.umanitoba.ca>
>>>>> "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