rust-maven-plugin icon indicating copy to clipboard operation
rust-maven-plugin copied to clipboard

Extract native binaries from JAR files

Open mokhtarabadi opened this issue 1 year ago • 0 comments

This commit introduces the JarBinLoader utility, which extracts native binaries embedded within JAR files to the temporary directory. It handles platform-specific naming conventions (e.g., .exe on Windows) and provides an option to automatically delete the extracted binaries on JVM exit. This functionality enables loading and executing platform-specific native libraries packaged within JARs.

mokhtarabadi avatar Jan 08 '25 05:01 mokhtarabadi