CDV ❯ start-tc-server.bat wrongly assumes bundled jre existant in the kit (which it isn't with generic kit)
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Kit & Installation
-
-
hhuynh
-
Reporter: hhuynh
-
January 05, 2009
-
0
-
Watchers: 0
-
April 10, 2009
-
February 20, 2009
Description
This snippet is from start-tc-server.bat. If there’s no JAVA_HOME defined, it will assume there is a bundle jre in the kit.
if not defined JAVA_HOME set JAVA_HOME=”%TC_INSTALL_DIR%\jre” set JAVA_HOME=”%JAVA_HOME:”=%” ————
This assumption is wrong since generic kit doesn’t have “jre” bundled. Users might prefer generic kits on Windows (due to smaller download size)
The code snippet from start-tc-server.bat in Terracotta-3.0.0-ee-stable0\bin
if not defined JAVA_HOME ( echo Environment variable JAVA_HOME needs to be set exit /b 1 )