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

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -