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
- :
- how do I set up VM arguments
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 07, 2008
12:10 PM
how do I set up VM arguments
I'm trying to add the following VM arguments every time the launcher starts my program:
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Xmx1024M
Where can I put this so that it takes effect?
I tried to place it in the "arguments" field from where I set my main class, but that doesn't seem to work. That only seems to be for program arguments, not VM arguments. I can tell it's not working because the log file is always empty when I run the installed version of the program, but when I run it in eclipse, it works fine.
I should also mention that I tried putting my VM arguments in the 'config' panel of the 'Project' tab under the "Optional Installer Arguments" field. This also doesn't seem to work.
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Xmx1024M
Where can I put this so that it takes effect?
I tried to place it in the "arguments" field from where I set my main class, but that doesn't seem to work. That only seems to be for program arguments, not VM arguments. I can tell it's not working because the log file is always empty when I run the installed version of the program, but when I run it in eclipse, it works fine.
I should also mention that I tried putting my VM arguments in the 'config' panel of the 'Project' tab under the "Optional Installer Arguments" field. This also doesn't seem to work.
(2) Replies
‎Oct 07, 2008
12:18 PM
For -Xmx, perhaps look at lax.nl.java.option.java.heap.size.max; for the other, perhaps look at lax.nl.java.option.additional? The help topic "LAX Properties" has more information.