R
Roedy Green
I discovered that System.loadLibrary will search both
java.library.path and the jar for a dll.
I'm pretty sure it did not do this back in the JDK 1.1 days.
I know it did it in JDK 1.4 in JAWS.
I wonder if anyone knows when this feature of searching the jar kicked
in? Is this new with JDK 1.5?
The key is you must not give the DLL a package name in the jar,
and you must load it with just a single word e.g. System.loadLibrary(
"nativepentium");
not "nativepentium.dll" or any path info.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
java.library.path and the jar for a dll.
I'm pretty sure it did not do this back in the JDK 1.1 days.
I know it did it in JDK 1.4 in JAWS.
I wonder if anyone knows when this feature of searching the jar kicked
in? Is this new with JDK 1.5?
The key is you must not give the DLL a package name in the jar,
and you must load it with just a single word e.g. System.loadLibrary(
"nativepentium");
not "nativepentium.dll" or any path info.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes