von bodo » 14 Nov 2008, 07:13
launch4j tries to find java with a few things:
- Registry Key from Sun
- JAVA_HOME environment variable
I am not a Windows-User, but you should be able to set JAVA_HOME to the Path of your Java-Installation with this few steps:
- Right-click My Computer, and then click Properties.
- Click the Advanced tab.
- Click Environment variables.
- Click one the following options, for either a user or a system variable
- Click New to add a new variable name and value.
- Click an existing variable, and then click Edit to change its name or value.
- Click an existing variable, and then click Delete to remove it.
(Copied from
here)
This should help.
launch4j tries to find java with a few things:
[list][*]Registry Key from Sun
[*]JAVA_HOME environment variable[/list]
I am not a Windows-User, but you should be able to set JAVA_HOME to the Path of your Java-Installation with this few steps:
[list][*]Right-click My Computer, and then click Properties.
[*]Click the Advanced tab.
[*]Click Environment variables.
[*]Click one the following options, for either a user or a system variable
[list][*]Click New to add a new variable name and value.
[*]Click an existing variable, and then click Edit to change its name or value.
[*]Click an existing variable, and then click Delete to remove it.[/list][/list]
(Copied from [url=http://support.microsoft.com/kb/310519]here[/url])
This should help.