Errors when compiling libswt.a under winxp

Mohan Embar gnustuff@thisiscool.com
Mon Dec 8 14:30:00 GMT 2003


Hello,

>Ok, before rebuild libswt I've compiled your HelloSWT example with your 
>libswt.a as
>
>gcj  --classpath=./swt.jar --main=HelloSWT HelloSWT.java -L. -lswt
>
>also I have copied swt.jar, swt-win32-2133.dll and libswt.a under 
>HelloSWT directory.
>When I execute the program it crash and the standard error output show
>
>Exception in thread "main" org.eclipse.swt.SWTException: Unsupported or 
>unrecognized format

Please study build.bat in the HelloSWT samples directory.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





More information about the Java mailing list