compiling a SWT-gui with gcj on windows

Tom Tromey tromey@redhat.com
Sat Jul 26 21:42:00 GMT 2003


>>>>> "Jörg" == Jörg Maisenbacher <joerg@maisenbachers.de> writes:

Jörg> (P.S. i hope, the output is kind of readable...)

Jörg> C:\g2gui>g2gui.exe
Jörg> Exception in thread "main" java.lang.ExceptionInInitializerError
Jörg>     at
Jörg>     __ZN3org7eclipse5jface8resource14JFaceResources16getImageRegistryEv

FYI, you can make the output more readable by making sure that c++filt
is in your path.  libgcj will use this to print the symbols in the
stack trace in ordinary Java format.  For instance, the above would
print:

    org.eclipse.jface.resource.JFaceResources.getImageRegistry()

We should really look at integrating the demangler into the runtime so
we don't require c++filt.

Tom



More information about the Java mailing list