I compield below source code with GCJ.
public class Test
{
public static void main(String args[])
{
System.out.println("This is a test.");
}}
gcj --main=Test -o Test Test.java
Compiled well. But I got "An unhandled win32 exception" when I execute the Test.exe.
GCJ Version is
gcj (GCC) 3.4.5 [2] (mingw special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
OS is "Windows 2003 Server"
Thanks.