12e5b6d6dSopenharmony_ci#!/bin/sh 22e5b6d6dSopenharmony_ci# 32e5b6d6dSopenharmony_ci# Copyright (C) 2017 and later: Unicode, Inc. and others. 42e5b6d6dSopenharmony_ci# License & terms of use: http://www.unicode.org/copyright.html 52e5b6d6dSopenharmony_ci# 62e5b6d6dSopenharmony_ci# Copyright (c) 2008-2013 IBM Corp. and Others. All Rights Reserved 72e5b6d6dSopenharmony_ciif [ ! -x ${1} ]; 82e5b6d6dSopenharmony_cithen 92e5b6d6dSopenharmony_ci echo could not exec ${1} 102e5b6d6dSopenharmony_ci echo usage: ${0} something.jvm.sh blah 112e5b6d6dSopenharmony_ci exit 1 122e5b6d6dSopenharmony_cifi 132e5b6d6dSopenharmony_ci#JAVA_HOME=/somewhere/1_6 142e5b6d6dSopenharmony_ciJAVA=java 152e5b6d6dSopenharmony_ci#CLASSPATH=foo/bar.jar:/baz 162e5b6d6dSopenharmony_ci#VM_OPTS=-Xmx265 172e5b6d6dSopenharmony_ci 182e5b6d6dSopenharmony_ci. "${1}" 192e5b6d6dSopenharmony_ci 202e5b6d6dSopenharmony_ci 212e5b6d6dSopenharmony_ciset -x 222e5b6d6dSopenharmony_ci${JAVA_HOME}/bin/${JAVA} ${VM_OPTS} -classpath ${CLASSPATH}:${2} ${3} 23