Revision: 6495
http://sourceforge.net/p/jump-pilot/code/6495
Author: edso
Date: 2020-09-18 10:25:21 +0000 (Fri, 18 Sep 2020)
Log Message:
-----------
prepend jvm argument -Dcom.sun.media.jai.disableMediaLib=true to start scripts
to avoid errors thrown by JAI due to the absence of mediaLib
prepending the argument allows it to be overridden by an earlier definition in
JAVA_OPTS by the user
Modified Paths:
--------------
core/trunk/ChangeLog
core/trunk/scripts/oj_linux.sh
core/trunk/scripts/oj_windows.bat
Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog 2020-09-17 22:30:42 UTC (rev 6494)
+++ core/trunk/ChangeLog 2020-09-18 10:25:21 UTC (rev 6495)
@@ -4,6 +4,10 @@
# 3. be concise but convey the change in a way that ordinary users understand
#<-------------------------------- 80 chars
---------------------------------->#
+2020-09-18 mike, ede
+ * prepend jvm argument -Dcom.sun.media.jai.disableMediaLib=true to start
+ scripts to avoid errors thrown by JAI due to the absence of mediaLib
+
2020-09-14 Giuseppe Aruta
* Raster Pixel Inspection. Added capability to retrieve a set of pixel
values in a table dragging on an area of the raster (like pixel inspector
Modified: core/trunk/scripts/oj_linux.sh
===================================================================
--- core/trunk/scripts/oj_linux.sh 2020-09-17 22:30:42 UTC (rev 6494)
+++ core/trunk/scripts/oj_linux.sh 2020-09-18 10:25:21 UTC (rev 6495)
@@ -251,6 +251,9 @@
JAVA_OPTS="--add-modules java.se.ee $JAVA_OPTS"
fi
+# avoid a NoClassDefFoundError when JAI is used
+JAVA_OPTS="-Dcom.sun.media.jai.disableMediaLib=true $JAVA_OPTS"
+
# in case some additional archives were placed in native dir inbetween
extract_libs "$JUMP_NATIVE_DIR"
Modified: core/trunk/scripts/oj_windows.bat
===================================================================
--- core/trunk/scripts/oj_windows.bat 2020-09-17 22:30:42 UTC (rev 6494)
+++ core/trunk/scripts/oj_windows.bat 2020-09-18 10:25:21 UTC (rev 6495)
@@ -37,7 +37,7 @@
rem set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyUser=username
-Dhttp.proxyPass=password
rem --- avoid a NoClassDefFoundError when JAI is used
-JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.media.jai.disableMediaLib=true
+JAVA_OPTS=-Dcom.sun.media.jai.disableMediaLib=true %JAVA_OPTS%
rem -- dequote path entries, just to be sure --
call :dequote %PATH%
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel