catalina.bat
rem ---------------------------------------------------------------------------rem Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settingsrem are valid and consistent with the selected start-up options and set up therem endorsed directory.remrem $Id: setclasspath.bat 1202062 2011-11-15 06:50:02Z mturk $rem ---------------------------------------------------------------------------set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_10
set JRE_HOME=C:\Program Files (x86)\Java\jdk1.6.0_10\jrerem Make sure prerequisite environment variables are set
rem In debug mode we need a real JDK (JAVA_HOME)
if ""%1"" == ""debug"" goto needJavaHome