Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change the jre parameter values after the exe file is generated through Launch4j?

The ideal scenario is like this:

The default parameter values are applied when the program is started. However, when the user wants to change some jre parameter values, he goes to a .ini file, MyProgram.ini for example, changes the values there, and the new values will be applied next time the program is started. I think eclipse uses the same way for its memory and some other parameter settings.

share|improve this question
up vote 0 down vote accepted

This question would probably be better off on StackOverflow.

Having said that, have you looked at the section Additional JVM Options in the docs? I don't know if it works for command-line options, but you can use it to set system properties at least. Another idea is, you know, let the Java program read a configuration file, instead of having Launch4J do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.