Problem with gcj

Brian Blount bblount@cs.unc.edu
Wed Jun 16 14:18:00 GMT 1999


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



More information about the Java mailing list