This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: load native lib (SWT) with JNI on windows
- From: Ingo Bormann <ingo dot bormann at web dot de>
- To: java at gcc dot gnu dot org
- Date: Wed, 20 Nov 2002 12:15:45 +0100
- Subject: Re: load native lib (SWT) with JNI on windows
- Organization: http://freemail.web.de/
>SWT is a pain to build because you need to carefully identify all of the
>classes to build and the directory structure is a pain to deal with
>(like, they've put spaces in the directory names).
I did not find it particulary difficult to buid. You can simply take the swt.jar (containing the class files)and give it to gcj. Or am I missing somthing important here? If you take the jar from eclipse 2.0 you have to delete the class og.eclipse.swt.internal.awt.win32.SWT_AWT.class, because it references some classes in the sun.awt package. I assume you don't need this class, if you only want to use swt without mixing awt stuff. Then it builds fine. Of course I could not test it, because of the java.lang.UnsatisfiedLinkError: swt-win32-2049: file not found.
Ingo
______________________________________________________________________________
Wer kennt nicht das Problem des unvollstandigen Adressbuches? Schluss
damit bei - WEB.DE FreeMail - http://freemail.web.de/features/?mc=021133