⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cstastub.bat

📁 CSTA协议,呼叫中心与PBX交换机的通讯协议
💻 BAT
字号:
@echo off
REM *****************************************************************
REM
REM The batch file for launching CSTAStub v1.2.0
REM Note : it has been written for a SUN JRE 1.4
REM
REM *****************************************************************

REM Where you have installed uniGone products; by default it is assumed to be c:\Program Files\uniGone
if "%uniGone_HOME%" == "" set uniGone_HOME=c:\Program Files\uniGone

set CSTAStub_dir="%uniGone_HOME%"\CSTAStub\v1.2.0
REM The classpath definition
set classpath=%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
set jmxclasspath=%CSTAStub_dir%\lib\mx4j.jar;%CSTAStub_dir%\lib\mx4j-tools.jar;%CSTAStub_dir%\lib\mx4j-jmx.jar

REM The JAVA Virtual Machine location
if "%JAVA_HOME%" == "" goto noJavaHome
set _JAVACMD=%JAVA_HOME%\bin\java

REM This launches CSTAStub class using the SUN JVM. Adapt this line to your local JVM.
REM The maximum size of the JVM memory allocation pool may be increased with JVM -Xmx option (see documentation).

REM Defines the command for JVM1.4
set CSTASTUB_JDK1.4_CMD="%_JAVACMD%" -classpath %classpath%;%jmxclasspath% -D"uniGone_HOME=%uniGone_HOME%" com.unigone.cstastub.CSTAStub %1 %2 %3

REM Defines the command for JVM1.5
REM Note : if using JVM 1.5 use -Xbootclasspath/p:%jmxclasspath% and remove jmxclasspath from classpath
REM to make MX4J the implementation for the JVM JMX
set CSTASTUB_JDK1.5_CMD="%_JAVACMD%" -Xbootclasspath/p:%jmxclasspath% -classpath %classpath% -D"uniGone_HOME=%uniGone_HOME%" com.unigone.cstastub.CSTAStub %1 %2 %3

REM By default JVM 1.4 is assumed
%CSTASTUB_JDK1.4_CMD%

goto END

:noJavaHome
echo.
echo Warning: JAVA_HOME environment variable is not set.
echo Please set the JAVA_HOME environment variable to the Java installation directory.
echo.

:END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -