Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.