console.bat as follow:
@echo off
echo Inprise Console
echo Copyright (C) 1999 Inprise Corporation
echo All rights reserved.
set CN=d:/program_inprise/visibroker_java/console
set AS=d:/program_inprise/visibroker_java
set VB=d:/program_inprise/visibroker_java
set JDK=D:/Jbuilder/jdk1.2.2
set JRE=d:/program files_Jbuilder/Java
set ASL=%AS%/lib
set CNL=%CN%/lib
set VBL=%VB%/lib
set JVL=%JDK%/lib
rem set LOG=console.log
rem set JAVA_COMPILER=NONE
set OLDPATH=%PATH%
set PATH=%JRE%/bin;%OLDPATH%
set CLASSPATH=%CN%/classes
set CLASSPATH=%CLASSPATH%;%CNL%/console.jar;%CNL%/jafa.jar
set CLASSPATH=%CLASSPATH%;%VBL%/vbjorb.jar;%VBL%/vbdev.jar;%VBL%/vbjdev.jar;%VBL%/vbsec.jar
set CLASSPATH=%CLASSPATH%;%CNL%/jndi.jar;%CNL%/providerutil.jar;%CNL%/cosnaming.jar;%CNL%/fscontext.jar
rem set CLASSPATH=%CLASSPATH%;%CNL%/dbswing3.1.jar;%CNL%/dbtools3.1.jar;%CNL%/pthelp3.1.jar
set CLASSPATH=%CLASSPATH%;%ASL%/vbejb.jar;%ASL%/navigator.jar
set CLASSPATH=%CLASSPATH%;%CNL%/jcchart.jar
set CLASSPATH=%CLASSPATH%;%JVL%/tools.jar
set CLASSPATH=%CLASSPATH%;%CN%/plugins/vbcore.jar
set CFG=%CN%/plugins/console.ini
goto run
:restart
echo Restarting
:run
java -classpath "%CLASSPATH%" -Dlog=%LOG% -Dcfg="%CFG%" com.inprise.console.Console
if errorlevel 100 goto end
if errorlevel 99 goto restart
:end
set PATH=%OLDPATH%
echodo
ne
我用echo 逐行检查,发现出现“out of environment space”的是第1~9行"set",
改路径后,出现在13~27行,
加echo 的console.bat 如下://////////////////////////
//////////////////////////////////////////////////////
@echo off
echo Inprise Console
echo Copyright (C) 1999 Inprise Corporation
echo All rights reserved.
SET PATH="d:/program_inprise/visibroker_java/console"
rem SET PATH="d:/program_inprise/visibroker_java/console";%JRE%/bin;%OLDPATH%;OLDPATH=%PATH%
echo 1
set CN=d:/program_inprise/visibroker_java/console
echo 2
set AS=d:/program_inprise/visibroker_java
echo 3
set VB=d:/program_inprise/visibroker_java
echo 4
set JDK=D:/Jbuilder/jdk1.2.2
echo 5
set JRE=d:/program files_Jbuilder/Java
echo 6
set ASL=%AS%/lib
echo 7
set CNL=%CN%/lib
echo 8
set VBL=%VB%/lib
echo 9
set JVL=%JDK%/lib
echo 10
rem set LOG=console.log
rem echo 11
rem set JAVA_COMPILER=NONE
echo 12
rem set OLDPATH=%PATH%
echo 13
rem SET PATH=%JRE%/bin;%OLDPATH%
rem echo 14
set CLASSPATH=%CN%/classes
rem echo 15
set CLASSPATH=%CLASSPATH%;%CNL%/console.jar;%CNL%/jafa.jar
rem echo 16
set CLASSPATH=%CLASSPATH%;%VBL%/vbjorb.jar;%VBL%/vbdev.jar;%VBL%/vbjdev.jar;%VBL%/vbsec.jar
rem echo 17
set CLASSPATH=%CLASSPATH%;%CNL%/jndi.jar;%CNL%/providerutil.jar;%CNL%/cosnaming.jar;%CNL%/fscontext.jar
rem echo 18
rem set CLASSPATH=%CLASSPATH%;%CNL%/dbswing3.1.jar;%CNL%/dbtools3.1.jar;%CNL%/pthelp3.1.jar
rem echo 19
set CLASSPATH=%CLASSPATH%;%ASL%/vbejb.jar;%ASL%/navigator.jar
rem echo 20
set CLASSPATH=%CLASSPATH%;%CNL%/jcchart.jar
rem echo 21
set CLASSPATH=%CLASSPATH%;%JVL%/tools.jar
rem echo 22
set CLASSPATH=%CLASSPATH%;%CN%/plugins/vbcore.jar
rem echo 23
set CFG=%CN%/plugins/console.ini
rem echo 24
goto run
echo 25
:restart
echo Restarting
echo 26
:run
rem SET PATH="D:/program files_Jbuilder/java/bin"
SET PATH="D:/Jbuilder/jdk1.2.2/jre/bin"
java -classpath "%CLASSPATH%" -Dlog=%LOG% -Dcfg="%CFG%" com.inprise.console.Console
echo 27
if errorlevel 100 goto end
rem echo 28
if errorlevel 99 goto restart
rem echo 29
:end
rem echo 30
set PATH=%OLDPATH%
echodo
ne
//////////////////////////////
请教大侠,
路径中的“%”为何意?还有,上面提到的“CN”(位置:第一行(echo 1)),
AS (echo 2),VB,JRE,ASL,CNL , VBL,JVL,分别指什么?
SOS!!! 请大侠指教!!!