load native lib (SWT) with JNI on windows

Ranjit Mathew rmathew@hotmail.com
Tue Nov 19 09:39:00 GMT 2002


Ingo Bormann wrote:
> Hi,
> 
> I try to get SWT working on windows with gcj. Everything compiles fine, but I just can't get gcj to load the swt dll. 
> Waht I always get is this:
> java.lang.UnsatisfiedLinkError: swt-win32-2049: file not found

If you're using the "release candidate" gcj 3.2 from the MinGW
pages, DLL loading should not work because of a silly
configuration error on my part. I've fixed it since, but
haven't uploaded the new binaries yet as I need to "finish off"
the JNI bits in GCJ 3.2.

In the interim, I'll try out SWT with the JNI-enabled GCJ 3.2
and report the results.

Sincerely Yours,
Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/





More information about the Java mailing list