I use start4j to wrap the jar executable in my Windows application, but I need to pass links to some of its libraries through JVM arguments. The corresponding libraries are located in the application installation directory and are always in the same place with respect to the executable file.
I would like to tell launch4j to use executable compatible paths in JVM options. I know this information is available at the Windows script package level, but how do you configure start4j to extract it?
Edit for clarification: I am looking specifically for how to make paths relative to the binary itself, not how to make them relative to the current working directory. These two do not necessarily match.
java launch4j
user597474
source share