-
Improvement
-
Resolution: Fixed
-
Major
-
4.3.6
-
None
Simplify installation and startup by deploying a setenv file that sets JAVA_HOME and JRE_HOME environment variables for the target system. These variables are a common source of installation problems, especially on the Windows platform where it cannot be assumed that JRE/JDK is already installed (unlike OSX or Linux).
For example, if you have a fresh Windows 7 installation you don't have either JRE or JDK by default. In installation instructions we tell users that JRE is adequate. When the user sets JAVA_HOME to their JRE installation path the system warns "JAVA_HOME should point to a JDK not a JRE" and refuses to start.
If automated JRE/JDK selection is not possible then at least deploy a setenv.sh/setenv.bat file that contains commented-out commands for setting the variables. Users can uncomment the correct variable with minimal effort. Tomcat will read the configuration.
- is cloned by
-
MAGNOLIA-3388 Set environment variables in a SETENV file
- Closed
- is depended upon by
-
MAGNOLIA-3387 Improvement of installation process
- Closed