1707N/Arem The contents of this file are subject to the terms of the
1707N/Arem Common Development and Distribution License, Version 1.0 only
1707N/Arem (the "License"). You may not use this file except in compliance
1707N/Arem You can obtain a copy of the license at
1707N/Arem See the License for the specific language governing permissions
1707N/Arem and limitations under the License.
1707N/Arem When distributing Covered Code, include this CDDL HEADER in each
1707N/Arem file and include the License file at
1707N/Arem add the following below this CDDL HEADER, with the fields enclosed
1707N/Arem by brackets "[]" replaced with your own identifying information:
1707N/Arem Portions Copyright [yyyy] [name of copyright owner]
1707N/Arem Portions Copyright 2006-2007 Sun Microsystems, Inc.
1707N/Aset INSTANCE_ROOT=%DIR_HOME%
1707N/Aif "%JAVA_BIN%" == "" goto noJavaBin
1707N/Aif "%JAVA_HOME%" == "" goto noJavaHome
1707N/Aecho Error: JAVA_HOME environment variable is not set.
1707N/Aecho Please set it to a valid Java 5 (or later) installation.
1707N/Aecho ERROR: The detected Java version could not be used. Please set
1707N/Aecho JAVA_HOME to to a valid Java 5 (or later) installation.
1707N/AFOR %%x in ("%DIR_HOME%\lib\*.jar") DO call "%DIR_HOME%\lib\
setcp.bat" %%x
1707N/Aset CLASSPATH=%DIR_HOME%\classes;%CLASSPATH%
1707N/Arem Test that the provided JDK is 1.5 compatible.
1707N/Aif not %errorlevel% == 0 goto noValidJavaHome
1707N/Aif "%~1" == "" goto callLaunch
1777N/Aif %errorlevel% == 50 goto version
1777N/Arem version information was requested. Return code should be 0.