Hi,
we use advanced installer to deploy our java program (jar).
When starting the jar file the program expects a command line parameter (like --imagepath=test.png).
As i figured out, the generated exe wrapper passes given arguments automatically to the jvm when starting the jar.
A call to wrapper.exe --imagepath=test.png does work and the java programm receives the imagepath parameter as argument.
But i am not able to use any whitespaces in the path.
I tried the following possibilities but non of them work:
- wrapper.exe --imagepath="c:\path with spaces\test.png" -> results in "c:\path as parameter
- wrapper.exe --imagepath='c:\path with spaces\test.png' -> results in 'c:\path as parameter
- wrapper.exe --imagepath=c:\path with spaces\test.png -> results in c:\path as parameter
Can you please give me some advice how to pass parameters with space with the exe wrapper to my program?
Thank you in advance
Sebastian
FOLLOW US
Get the latest news in Application Packaging