Skip to content
⌘ NSIS Forum Archive

Setting Java Runtime parameter from NSIS

4 posts

ccartier#

Setting Java Runtime parameter from NSIS

Hi
Given there is a way to locate the JRE, add new environment variables, ... by manipulating the registry, is there a way to set the Java Runtime Parameters, e.g., to -Xmx1200M ?
I'll appreciate any comments
Cyril
kichik#
I think you'll get better response for this kind of question in a Java related forums as it's very Java specific.

Off the top of my head, there's no such registry key that I remember.
galevsky#
I know there is a HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\ that provides info about installed JRE and the default one.

Gal'