summaryrefslogtreecommitdiffstats
path: root/java-win32.bat
blob: b27da069523a6e27261f4342978e0f5aeafe1d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

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

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