Windows installer ignores JAVA_HOME input
-----------------------------------------
Key: GEOS-3183
URL: http://jira.codehaus.org/browse/GEOS-3183
Project: GeoServer
Issue Type: Improvement
Components: Windows Installer
Affects Versions: 1.7.5
Environment: Windows XP SP3 32-bit
Reporter: Mike Toews
Assignee: Andrea Aime
The Windows installer asks for a path to a Java JDK, however, this seems to be ignored.
I have a computer that previously had an older JDK (past year) with JAVA_HOME assigned to it. I re-installed a new version of JDK, but this doesn't modify JAVA_HOME. While installing GeoServer (geoserver-1.7.5-ng.exe), the default value for the JDK path was borrowed from the JAVA_HOME environment variable, but since it was wrong, I set the path in the installer to the correct path.
However, when I started the GeoServer service, it failed to start since it was reading the wrong JAVA_HOME path.
A possible solution is: if JAVA_HOME is not set or is incorrect, the installer should identify this and write the system variable using the path provided in the installer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira