diff options
Diffstat (limited to 'java-win32-dbg.bat')
-rw-r--r-- | java-win32-dbg.bat | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/java-win32-dbg.bat b/java-win32-dbg.bat index dc9c8d2..9b0dc4e 100644 --- a/java-win32-dbg.bat +++ b/java-win32-dbg.bat @@ -1,11 +1,17 @@ -REM 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 @@ -14,8 +20,6 @@ echo CLASSPATH %CLASSPATH% echo PATH %PATH% -REM java "-Dgluegen.debug.ProcAddressHelper" "-Dgluegen.debug.NativeLibrary=true" "-Djava.library.path=%LIB_DIR%" "-Dnativewindow.debug=all" "-Djogl.debug=all" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -REM java "-Dgluegen.debug.NativeLibrary=true" "-Dnewt.debug=all" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 -java "-Dnewt.debug.Window" "-Dnativewindow.debug=all" "-Djogl.debug=all" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32-dbg.log 2>&1 +java "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32.log 2>&1 |