This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Problem with gcj
- To: java-discuss@sourceware.cygnus.com
- Subject: Problem with gcj
- From: Brian Blount <bblount@cs.unc.edu>
- Date: Wed, 16 Jun 1999 17:18:15 -0400 (EDT)
Hi,
I've downloaded and installed the 06/16/99 versions of egcs and
libgcj. However, whenever I execute a java program that I have
compiled using gcj, I get a seg fault:
capefear(53)% gcj --main=Example -o Example Example.java
capefear(54)% ./Example
Segmentation fault (core dumped)
Any ideas what could be wrong? The Example.java class is simple:
public class Example {
public static void
main(String[] args)
{
System.out.println("Hello World");
}
}
Thanks for any help,
Brian Blount
bblount@cs.unc.edu