badass-runtime-plugin
badass-runtime-plugin copied to clipboard
How to include JNI related files, documentation not clear
Hi
Documentation is well written, but one thing:
It would be great if you could, either here, or in the documentation, or per link to example, show an example on how to include (in the case of Windows) DLL files that is part of a JNI solution. Or generalized: How to include non java files in the package in such a way that those files end up in the same folder as the java executable application after install.
I have read both the documentation for this plugin and for jpackage, but in vain. I am stuck.
Many thanks
Have a look at this project: https://github.com/PaulWinstone/demoModule .
There are several things to do, but the most important is this one.
Thanks. For my study.
Embedd the dlls as resources and extract them at runtime and then load them. Much easier than messing around with packaging.
good idea. Will try that.