📄 cstastub.sh
字号:
#! /bin/sh# *****************************************************************## The batch file for launching CSTAStub v1.2.0# Note : it has been written for a SUN JRE 1.4## *****************************************************************if [ "$JAVA_HOME" != "" ] ; then JAVACMD=$JAVA_HOME/bin/java # The location of uniGone products if [ "$uniGone_HOME" = "" ] ; then echo "Warning: uniGone_HOME environment variable is not set." echo "Please set uniGone_HOME environment variable to the directory where uniGone products are installed." # The default location uniGone_HOME=/usr/local/uniGone fi CSTAStub_dir=$uniGone_HOME/CSTAStub/v1.2.0 LOCALCLASSPATH=$CSTAStub_dir/lib/CSTAp2.jar:$CSTAStub_dir/lib/CSTAp1.jar:$CSTAStub_dir/lib/log4j.jar:$CSTAStub_dir/lib/commons-cli.jar:$CSTAStub_dir/lib/mail.jar:$CSTAStub_dir/lib/activation.jar:$CSTAStub_dir/lib/CSTAStub.jar:$CSTAStub_dir/lib/xsl JMXCLASSPATH=$CSTAStub_dir/lib/mx4j.jar:$CSTAStub_dir/lib/mx4j-tools.jar:$CSTAStub_dir/lib/mx4j-jmx.jar # This launches CSTAStub class using the SUN JVM. Adapt this line to your local JVM. # The maximum size of the JVM memory allocation pool may be increased with JVM -Xmx option (see documentation). # ---------------------------------------------------------------------------------------- # Defines the command for JVM1.4 CSTASTUB_JDK1_4_CMD="$JAVACMD -classpath "$LOCALCLASSPATH:$JMXCLASSPATH" -D"uniGone_HOME=$uniGone_HOME" com.unigone.cstastub.CSTAStub $*" # Defines the command for JVM1.5 # Note : if using JVM 1.5 use -Xbootclasspath/p:$JMXCLASSPATH and remove $JMXCLASSPATH from classpath # to make MX4J the implementation for the JVM JMX CSTASTUB_JDK1_5_CMD="$JAVACMD -Xbootclasspath/p:$JMXCLASSPATH -classpath "$LOCALCLASSPATH" -D"uniGone_HOME=$uniGone_HOME" com.unigone.cstastub.CSTAStub $*" # By default assumes JVM1.4 $CSTASTUB_JDK1_4_CMDelse echo "Warning: JAVA_HOME environment variable is not set." echo "Please set JAVA_HOME environment variable to the installation directory of java."fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -