setup revision 873
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER START
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# The contents of this file are subject to the terms of the
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Common Development and Distribution License, Version 1.0 only
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# (the "License"). You may not use this file except in compliance
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# with the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# You can obtain a copy of the license at
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# See the License for the specific language governing permissions
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# and limitations under the License.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# When distributing Covered Code, include this CDDL HEADER in each
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# file and include the License file at
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# add the following below this CDDL HEADER, with the fields enclosed
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# by brackets "[]" replaced with your own identifying information:
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Portions Copyright [yyyy] [name of copyright owner]
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# CDDL HEADER END
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# Portions Copyright 2006-2007 Sun Microsystems, Inc.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# See if JAVA_HOME is set. If not, then see if there is a java executable in
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica# the path and try to figure it out.
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01ricaif test -z "${JAVA_BIN}"
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica if test -z "${JAVA_HOME}"
f875b4ebb1dd9fdbeb043557cab38ab3bf7f6e01rica if test -f "${INSTANCE_ROOT}/bin/set-java-home"
. "${INSTANCE_ROOT}/bin/set-java-home"
export JAVA_BIN
export JAVA_BIN
export JAVA_BIN
export INSTANCE_ROOT
export CLASSPATH