Revision: 5930
          http://sourceforge.net/p/jump-pilot/code/5930
Author:   edso
Date:     2018-08-27 13:43:30 +0000 (Mon, 27 Aug 2018)
Log Message:
-----------
finetune jre parameters for modern jre's

Modified Paths:
--------------
    core/trunk/scripts/oj_windows.bat

Modified: core/trunk/scripts/oj_windows.bat
===================================================================
--- core/trunk/scripts/oj_windows.bat   2018-08-27 12:20:07 UTC (rev 5929)
+++ core/trunk/scripts/oj_windows.bat   2018-08-27 13:43:30 UTC (rev 5930)
@@ -136,12 +136,16 @@
 
 
 rem -- java9-java11 need some packages explicitly added/exported --
-if %JAVAVER_MAJOR% geq 9 if %JAVAVER_MAJOR% lss 12 (
+if %JAVAVER_MAJOR% geq 9 (
   set JAVA_OPTS=%JAVA_OPTS% --add-exports 
java.base/jdk.internal.loader=ALL-UNNAMED ^
 --add-exports java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED ^
 --add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED ^
---add-exports java.desktop/com.sun.imageio.spi=ALL-UNNAMED --add-modules 
java.se.ee
+--add-exports java.desktop/com.sun.imageio.spi=ALL-UNNAMED
 )
+rem -- java ee was removed from jdk in java 11
+if %JAVAVER_MAJOR% geq 9 if %JAVAVER_MAJOR% lss 11 (
+  set JAVA_OPTS=%JAVA_OPTS% --add-modules java.se.ee
+)
 
 rem -- detect if java is 64bit --
 for /f "delims=" %%v in ('echo "%JAVA_VERSIONSTRING%"^|findstr /I "64-Bit"') 
do (


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to