java - Distribute application with user defined heap size -


we distributing java application exe file using install4j, , setting jvm parameters (e.g. vmparameters="-xmx512m ..."). problem is, users needs different maxheapsize, , want allow user-defined jvm parameterization (say, launching .exe cmd params). how can achieve this?

edit

i know launch4j , other executable wrappers, couldn't find of works .exe file (only .jars)

eventually, colleague found answer - create .vmoptions file next .exe , add options want pass jvm (in case -xmx1024mb).


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -