jacob-project icon indicating copy to clipboard operation
jacob-project copied to clipboard

Improve library loading - remove need for external dll on filesystem

Open freemansoft opened this issue 5 years ago • 3 comments

There were a couple comments on Sourceforge on how the loading could be done differently. I forgot to copy those messages to GitHub before purging them on Sourceforge. This issue is a placeholder hoping that someone will reply with ideas.

freemansoft avatar Sep 25 '20 10:09 freemansoft

Hi, I have not dones this myself, although perhaps this stack overflow answer may help:

https://stackoverflow.com/questions/1611357/how-to-make-a-jar-file-that-includes-dll-files

Timothy Breitenfeldt

tbreitenfeldt avatar Nov 19 '20 01:11 tbreitenfeldt

The SO answer says correctly that the DLL has to end up in the file system anyway so it is hard to see the point of putting it into the JAR file.

EJP286CRSKW avatar Aug 24 '23 08:08 EJP286CRSKW

Built a simple project that helps publish jars of the native code and extracts it at runtime. https://github.com/fizzed/jacob

jjlauer avatar Sep 05 '23 19:09 jjlauer