exe4j - install4j: Whitespaces in vm-parameters via vmoptions (OSX service launcher) generating error -


We are building a service launcher for our app. In the Vmoptions file, we set a parameter that contains whitespace (like file path):

-Dmy.parameter = my file path

This service does not work in the launcher < / P>

-Dmy.file.path = "My file path"

Both generations "Main section could not be found: file. Path "

This is the limit of service launchers on Mac OS X which Install4j 6 will be fixed in

As a workaround, keep the VM parameter in place with the location in the first line in the .vmoptions file, then it should work.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -