2 IF NOT "%OS%"=="Windows_NT" GOTO win9xStart
\r
7 REM Need to check if we are using the 4NT shell...
\r
8 IF "%eval[2+2]" == "4" GOTO setup4NT
\r
10 REM On NT/2K grab all arguments at once
\r
11 SET JALOPY_CMD_LINE_ARGS=%*
\r
15 SET JALOPYY_CMD_LINE_ARGS=%$
\r
19 REM Slurp the command line arguments. This loop allows for an unlimited number
\r
20 REM of arguments (up to the command line limit, anyway).
\r
21 SET JALOPY_CMD_LINE_ARGS=
\r
24 IF %1a==a GOTO doneStart
\r
25 SET JALOPY_CMD_LINE_ARGS=%JALOPY_CMD_LINE_ARGS% %1
\r
30 REM This label provides a place for the argument list loop to break out
\r
31 REM and for NT handling to skip to.
\r
34 SET _JAVACMD=%JAVACMD%
\r
36 FOR %%i IN ("..\lib\*.jar") do call ".\lcp.bat" %%i
\r
38 IF "%JAVA_HOME%" == "" GOTO noJavaHome
\r
39 IF "%_JAVACMD%" == "" SET _JAVACMD=%JAVA_HOME%\bin\java
\r
43 IF "%_JAVACMD%" == "" SET _JAVACMD=java
\r
45 ECHO Warning: JAVA_HOME environment variable is not set.
\r
46 ECHO You may need to set the JAVA_HOME environment variable
\r
47 ECHO to the installation directory of Java.
\r
51 "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" de.hunsicker.jalopy.swing.SettingsDialog %JALOPY_CMD_LINE_ARGS%
\r
57 SET JALOPY_CMD_LINE_ARGS=
\r
59 IF NOT "%OS%"=="Windows_NT" GOTO mainEnd
\r