summaryrefslogtreecommitdiffstats
path: root/java-win32.bat
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-31 11:55:45 -0700
committerSven Gothel <[email protected]>2009-07-31 11:55:45 -0700
commitfb20e6606b0d1c1846547dd728cb77bafc671baf (patch)
treecba03c22350430e54ae9149e5bb3343d15122793 /java-win32.bat
parent56cdd9e61e28fb7fc542163d4009f1de3b397904 (diff)
Fix windows start scripts (CVM/J2SE)
Diffstat (limited to 'java-win32.bat')
-rw-r--r--java-win32.bat31
1 files changed, 14 insertions, 17 deletions
diff --git a/java-win32.bat b/java-win32.bat
index af7413e..4fd603c 100644
--- a/java-win32.bat
+++ b/java-win32.bat
@@ -1,17 +1,14 @@
-
-set J2RE_HOME=c:\jre6
-set JAVA_HOME=c:\jdk6
-
-set JAR_DIR=jogl\lib
-set LIB_DIR=jogl\lib
-
-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;jogl-demos.jar;jogl-demos-util.jar;jogl-demos-data.jar
-
-echo CLASSPATH %CLASSPATH%
-
-echo PATH %PATH%
-
-java "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" "-Djava.library.path=%LIB_DIR%" %1 %2 %3 %4 > java-win32.log 2>&1
-
-
+
+set J2RE_HOME=c:\jre6
+set JAVA_HOME=c:\jdk6
+
+set JAR_DIR=jogl\lib
+set LIB_DIR=jogl\lib
+
+set CP_ALL=.;%JAR_DIR%\jogl.all.jar;%JAR_DIR%\nativewindow.all.jar;%JAR_DIR%\newt.all.jar;%JAR_DIR%\gluegen-rt.jar;jogl-demos.jar;jogl-demos-util.jar;jogl-demos-data.jar
+
+echo CP_ALL %CP_ALL%
+
+%J2RE_HOME%\bin\java -classpath %CP_ALL% "-Djava.library.path=%LIB_DIR%" "-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" %1 %2 %3 %4 > java-win32.log 2>&1
+
+