[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
Re: Question: how to deploy SWT apps
|
"Laurens" <spam@xxxxxxxxx> wrote in message
news:ajel03$rn3$1@xxxxxxxxxxxxxxxx
> 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.
>
Another option is to do what a lot of Windows programs do, and put the DLL
in the system32 directory. Windows always looks there when trying to resolve
a DLL reference.
/peter
--
Peter Burka
Object Technology International, Inc.