[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: Question: how to deploy SWT apps
|
I just put the DLL in the same directory as the batch file or executable
jar. When binding a library through JNI the VM looks in the current
directory for any DLLs. You can also specify the library path explicitly
using the "-Djava.library.path=<directory>" command-line switch.
-Laurens
"danny james" <vonbiel@xxxxxxx> wrote in message
news:ajbp3o$cuv$1@xxxxxxxxxxxxxxxx
> Hi - I'm just starting to play around with SWT. My question is, I don't
> have a problem writing a batch file directing to swt.jar before my SWT
> application starts. However, I think having my clients to manually add
> swt-win32-2047.dll into their classpath is kind of tedious. Does anyone
> here use some kind of technique to make it easier for clients to run SWT
> applications? Cheers-
>