summaryrefslogtreecommitdiffstats
path: root/java-win32.bat
diff options
context:
space:
mode:
Diffstat (limited to 'java-win32.bat')
-rw-r--r--java-win32.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/java-win32.bat b/java-win32.bat
index e9ed420..b27da06 100644
--- a/java-win32.bat
+++ b/java-win32.bat
@@ -1,11 +1,16 @@
-#set TOPDIR=C:\SUN\JOGL2
set TOPDIR=..
set J2RE_HOME=c:\jre6
set JAVA_HOME=c:\jdk6
+IF NOT EXIST %TOPDIR%\lib-jogl-jars GOTO DIRSET2
set JAR_DIR=%TOPDIR%\lib-jogl-jars
set LIB_DIR=%TOPDIR%\lib-jogl-win32
+GOTO DIRSETFIN
+:DIRSET2
+set JAR_DIR=jogl\lib
+set LIB_DIR=jogl\lib
+:DIRSETFIN
set PATH=%J2RE_HOME%\bin;%LIB_DIR%;%PATH%
set CLASSPATH=.;%JAR_DIR%\jogl.all.jar;%JAR_DIR%\nativewindow.all.jar;%JAR_DIR%\newt.all.jar;%JAR_DIR%\gluegen-rt.jar;%JAR_DIR%\jogl-demos.jar;%JAR_DIR%\jogl-demos-util.jar;%JAR_DIR%\jogl-demos-data.jar