jar file question# Java - 爪哇娇娃
c*t
1 楼
I have a jar file which I need to run with
java -mx300mb -jar mycode.jar
-mx300mb is needed to increase the heap size. Are there anways to
avoid this flag at run time w/o using shell script/batch files and
have this option build into the jar file?
I was looking at the menifest file but found no clues. Anyone
can help?
Thanks
java -mx300mb -jar mycode.jar
-mx300mb is needed to increase the heap size. Are there anways to
avoid this flag at run time w/o using shell script/batch files and
have this option build into the jar file?
I was looking at the menifest file but found no clues. Anyone
can help?
Thanks