launcher.sh-template revision 804
553N/A# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A# This code is free software; you can redistribute it and/or modify it 0N/A# under the terms of the GNU General Public License version 2 only, as 553N/A# published by the Free Software Foundation. Oracle designates this 0N/A# particular file as subject to the "Classpath" exception as provided 553N/A# by Oracle in the LICENSE file that accompanied this code. 0N/A# This code is distributed in the hope that it will be useful, but WITHOUT 0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A# version 2 for more details (a copy is included in the LICENSE file that 0N/A# accompanied this code). 0N/A# You should have received a copy of the GNU General Public License version 0N/A# 2 along with this work; if not, write to the Free Software Foundation, 0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A# By default, put the jar file and its dependencies on the bootclasspath. 0N/A# This is always required on a Mac, because the system langtools classes 0N/A# are always on the main class path; in addition, it may be required on 0N/A# Assume that the jar file being invoked lists all the necessary langtools 0N/A# jar files in its Class-Path manifest entry, so there is no need to search 0N/A# dependent jar files for additional dependencies. 655N/A sed -e 's|Class-Path: *||' -e 's|\([a-z]*\.jar\) *|'"$mylib"'/\1#PS#|g'` 307N/A# tools currently assumes that assertions are enabled in the launcher 307N/A# Any parameters starting with -J are passed to the JVM. 307N/A# All other parameters become parameters of #PROGRAM#. 307N/A# Separate out -J* options for the JVM 307N/A# Unset IFS and use newline as arg separator to preserve spaces in args 307N/ADUALCASE=
1 # for MKS: make case statement case-sensitive (6709498)