diff options
author | Sven Gothel <[email protected]> | 2023-01-23 10:16:07 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-23 10:16:07 +0100 |
commit | ba93184177af82276c3353ed9759dab8ba0421d7 (patch) | |
tree | 82e67bcf55e30d35e07254089f65a295aef5a7fd /make/scripts/java-win64.bat | |
parent | a9f1ccf10e42076d88813d369cfbc3e205469428 (diff) |
Windows java-win64.bat launch script: Set LIB_DIR to absolute path as required by System.load*()
Diffstat (limited to 'make/scripts/java-win64.bat')
-rwxr-xr-x | make/scripts/java-win64.bat | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/make/scripts/java-win64.bat b/make/scripts/java-win64.bat index 65032cd..26a4591 100755 --- a/make/scripts/java-win64.bat +++ b/make/scripts/java-win64.bat @@ -6,11 +6,9 @@ set JAVA_HOME=c:\jdk-17 set ANT_PATH=C:\apache-ant-1.10.5
set BLD_DIR=..\%BLD_SUB%
-REM set LIB_DIR=..\%BLD_SUB%\obj;..\%BLD_SUB%\test\build\natives
-set LIB_DIR=..\%BLD_SUB%\test\build\natives
+set LIB_DIR=%cd%\..\%BLD_SUB%\test\build\natives
set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%LIB_DIR%;%PATH%
-REM set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%PATH%
set CP_ALL=.;lib\junit.jar;%ANT_PATH%\lib\ant.jar;%ANT_PATH%\lib\ant-junit.jar;lib/semantic-versioning/semver.jar;lib\TestJarsInJar.jar;%BLD_DIR%\gluegen-rt.jar;%BLD_DIR%\gluegen.jar;%BLD_DIR%\gluegen-test-util.jar;%BLD_DIR%\test\build\gluegen-test.jar
@@ -18,6 +16,7 @@ echo CP_ALL %CP_ALL% set X_ARGS="-Drootrel.build=%BLD_SUB%" "-Dgluegen.root=.."
REM set D_ARGS="-Djogamp.debug.IOUtil" "-Djogamp.debug.JNILibLoader" "-Djogamp.debug.TempFileCache" "-Djogamp.debug.JarUtil" "-Djogamp.debug.TempJarCache"
+REM set D_ARGS="-Djogamp.debug.IOUtil" "-Djogamp.debug.NativeLibrary" "-Djogamp.debug.JNILibLoader" "-Djogamp.debug.TempFileCache" "-Djogamp.debug.JarUtil" "-Djogamp.debug.TempJarCache"
REM set D_ARGS="-Djogamp.debug.Platform" "-Djogamp.debug.NativeLibrary" "-Djogamp.debug.IOUtil"
REM set D_ARGS="-Djogamp.debug.IOUtil" "-Djogamp.debug.IOUtil.Exe" "-Djogamp.debug.IOUtil.Exe.NoStream"
REM set D_ARGS="-Djogamp.debug.IOUtil" "-Djogamp.debug.TempFileCache" "-Djogamp.debug.TempJarCache" "-Djogamp.debug.IOUtil.Exe" "-Djogamp.gluegen.UseNativeExeFile=true" "-Djava.io.tmpdir=c:\temp_noexec"
|