home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
dosutils
/
weirdx
/
weirdx.bat
< prev
next >
Wrap
DOS Batch File
|
2000-08-29
|
676b
|
31 lines
@echo off
rem set SWING_HOME=\swing-1.1
rem set JAVA_HOME=\jdk1.1.6
rem if "%SWING_HOME%" == "" goto nohome_swing
if "%JAVA_HOME%" == "" goto nohome_java
if "%CLASSPATH%" == "" set CLASSPATH=%JAVA_HOME%\lib\classes.zip
rem set WEIRDX_HOME=\tmp\weirdx\misc
if "%WEIRDX_HOME%" == "" set WEIRDX_HOME=.
rem cd $WEIRDX_HOME
@echo on
%JAVA_HOME%\bin\java -classpath ".;%WEIRDX_HOME%\weirdx.jar;%SWING_HOME%;%SWING_HOME%\swingall.jar;%CLASSPATH%" com.jcraft.weirdx.WeirdX
@echo off
rem cd ..
goto done
:nohome_swing
echo No SWING_HOME environment variable set.
goto done
:nohome_java
echo No JAVA_HOME environment variable set.
goto done
:done