This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Setting system property for Launcher
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 15, 2011
05:20 AM
Setting system property for Launcher
Hi,
How can I set system property (-Dkey=value) for Launcher?
I have tried to add to Arguments as follow:
-Dkey=value $CMD_LINE_ARGUMENTS$
But it didn't work as java expects the order to be:
java -Dkey=value my.main.class $CMD_LINE_ARGUMENTS$
Any help is appreciated,
Ben
How can I set system property (-Dkey=value) for Launcher?
I have tried to add to Arguments as follow:
-Dkey=value $CMD_LINE_ARGUMENTS$
But it didn't work as java expects the order to be:
java -Dkey=value my.main.class $CMD_LINE_ARGUMENTS$
Any help is appreciated,
Ben
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 15, 2011
10:33 AM
Hi,
I found my answer in one of the previous post:
http://community.flexerasoftware.com/showthread.php?t=183996&highlight=launcher
Basically, I have to use
lax.nl.java.option.additional
LAX Properties to pass a custom variable as a part of the command line.
It works!
Thanks!
Ben
I found my answer in one of the previous post:
http://community.flexerasoftware.com/showthread.php?t=183996&highlight=launcher
Basically, I have to use
lax.nl.java.option.additional
LAX Properties to pass a custom variable as a part of the command line.
It works!
Thanks!
Ben