I have used launch4j to create a working .exe file for my java .jar application.
When I specify the absolute path everything works:
Djava.library.path=C:\Users\dre\Desktop\2014_11_24\Logfetch_v01_20141124\lib\rxtx-2.2pre2-bins\Windows\win64\
When I try to use relative paths:
-Djava.library.path=\lib\rxtx-2.2pre2-bins\Windows\win64\
-Djava.library.path=/lib/rxtx-2.2pre2-bins/Windows/win64/
The linking fails and parts of my app don't work.
I'm sure it's a silly mistake to do with \ and / due to my inexperience with the Windows OS.
Thank you.
I solved this problem with this JVM Option.