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 .jar
s)
eventually, colleague found answer - create .vmoptions
file next .exe
, add options want pass jvm (in case -xmx1024mb
).
Comments
Post a Comment