-
|
My project requires setting the I was trying to set it with the Runtime Arguments, but It's not an issue at runtime, I can get the jar's path to find other files with: File jarFile = new File(ClassName.class.getProtectionDomain().getCodeSource().getLocation().toURI());
return jarFile.getParentFile().getAbsolutePath();My problem is that, for the native libraries, I need to set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I don't currently have a placeholder for the jdeploy-path, but I can add it. Please file an RFE in the issue tracker. It it rare that I needed to set the java.library.path, I usually bundle my native libs inside my jars, and load them at runtime. Here is a chat gpt prompt that outlines a sample solution to that: https://chatgpt.com/share/6835aab2-cdb8-8003-8eb2-6492282c66ff |
Beta Was this translation helpful? Give feedback.
I don't currently have a placeholder for the jdeploy-path, but I can add it. Please file an RFE in the issue tracker.
It it rare that I needed to set the java.library.path, I usually bundle my native libs inside my jars, and load them at runtime.
Here is a chat gpt prompt that outlines a sample solution to that: https://chatgpt.com/share/6835aab2-cdb8-8003-8eb2-6492282c66ff