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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -