diff --git a/robocode.content/src/main/resources/meleerumble.bat b/robocode.content/src/main/resources/meleerumble.bat index ba9f2efd5..c08936625 100644 --- a/robocode.content/src/main/resources/meleerumble.bat +++ b/robocode.content/src/main/resources/meleerumble.bat @@ -6,4 +6,8 @@ @REM https://robocode.sourceforge.io/license/epl-v10.html @REM +@REM Older than Java 12 +@REM java -Xmx1024M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt + +@REM Java 12 and newer java -Xmx1024M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt \ No newline at end of file diff --git a/robocode.content/src/main/resources/meleerumble.command b/robocode.content/src/main/resources/meleerumble.command index d67f1934f..1df8ba37f 100644 --- a/robocode.content/src/main/resources/meleerumble.command +++ b/robocode.content/src/main/resources/meleerumble.command @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx1024M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt + +# Java 12 and newer java -Xdock:icon=roborumble.ico -Xdock:name=MeleeRumble -Xmx1024M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/meleerumble.sh b/robocode.content/src/main/resources/meleerumble.sh index 6f764bc67..cec76e714 100755 --- a/robocode.content/src/main/resources/meleerumble.sh +++ b/robocode.content/src/main/resources/meleerumble.sh @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx1024M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt + +# Java 12 and newer java -Xmx1024M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/meleerumble.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/robocode.bat b/robocode.content/src/main/resources/robocode.bat index 68196b578..b87c327f6 100644 --- a/robocode.content/src/main/resources/robocode.bat +++ b/robocode.content/src/main/resources/robocode.bat @@ -6,4 +6,8 @@ @REM https://robocode.sourceforge.io/license/epl-v10.html @REM +@REM Older than Java 12 +@REM java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode %* + +@REM Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode %* \ No newline at end of file diff --git a/robocode.content/src/main/resources/robocode.command b/robocode.content/src/main/resources/robocode.command index ae6568a46..88a87b898 100644 --- a/robocode.content/src/main/resources/robocode.command +++ b/robocode.content/src/main/resources/robocode.command @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xdock:icon=robocode.ico -Xdock:name=Robocode -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode $* + +# Java 12 and newer java -Xdock:icon=robocode.ico -Xdock:name=Robocode -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode $* cd "${pwd}" diff --git a/robocode.content/src/main/resources/robocode.sh b/robocode.content/src/main/resources/robocode.sh index 2d2ba5770..f75a25c8a 100755 --- a/robocode.content/src/main/resources/robocode.sh +++ b/robocode.content/src/main/resources/robocode.sh @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode $* + +# Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" robocode.Robocode $* cd "${pwd}" diff --git a/robocode.content/src/main/resources/roborumble.bat b/robocode.content/src/main/resources/roborumble.bat index 5c61210e2..2a0689d8a 100644 --- a/robocode.content/src/main/resources/roborumble.bat +++ b/robocode.content/src/main/resources/roborumble.bat @@ -6,4 +6,8 @@ @REM https://robocode.sourceforge.io/license/epl-v10.html @REM +@REM Older than Java 12 +@REM java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt + +@REM Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt \ No newline at end of file diff --git a/robocode.content/src/main/resources/roborumble.command b/robocode.content/src/main/resources/roborumble.command index 0a6968896..813fd07e9 100644 --- a/robocode.content/src/main/resources/roborumble.command +++ b/robocode.content/src/main/resources/roborumble.command @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xdock:icon=roborumble.ico -Xdock:name=RoboRumble -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt + +# Java 12 and newer java -Xdock:icon=roborumble.ico -Xdock:name=RoboRumble -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/roborumble.sh b/robocode.content/src/main/resources/roborumble.sh index ac645b58a..64324b03e 100755 --- a/robocode.content/src/main/resources/roborumble.sh +++ b/robocode.content/src/main/resources/roborumble.sh @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome + +# Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome cd "${pwd}" diff --git a/robocode.content/src/main/resources/teamrumble.bat b/robocode.content/src/main/resources/teamrumble.bat index 5515830d7..d1b355da2 100644 --- a/robocode.content/src/main/resources/teamrumble.bat +++ b/robocode.content/src/main/resources/teamrumble.bat @@ -6,4 +6,8 @@ @REM https://robocode.sourceforge.io/license/epl-v10.html @REM +@REM Older than Java 12 +@REM java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt + +@REM Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt \ No newline at end of file diff --git a/robocode.content/src/main/resources/teamrumble.command b/robocode.content/src/main/resources/teamrumble.command index 9d63781d1..41709d80f 100644 --- a/robocode.content/src/main/resources/teamrumble.command +++ b/robocode.content/src/main/resources/teamrumble.command @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xdock:icon=roborumble.ico -Xdock:name=TeamRumble -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt + +# Java 12 and newer java -Xdock:icon=roborumble.ico -Xdock:name=TeamRumble -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/teamrumble.sh b/robocode.content/src/main/resources/teamrumble.sh index b30d8eefd..d795cd6fb 100755 --- a/robocode.content/src/main/resources/teamrumble.sh +++ b/robocode.content/src/main/resources/teamrumble.sh @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt + +# Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/teamrumble.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/twinduel.bat b/robocode.content/src/main/resources/twinduel.bat index 7a3e1f7e3..87dad6ee1 100644 --- a/robocode.content/src/main/resources/twinduel.bat +++ b/robocode.content/src/main/resources/twinduel.bat @@ -6,4 +6,8 @@ @REM https://robocode.sourceforge.io/license/epl-v10.html @REM +@REM Older than Java 12 +@REM java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt + +@REM Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt \ No newline at end of file diff --git a/robocode.content/src/main/resources/twinduel.command b/robocode.content/src/main/resources/twinduel.command index 94df0363b..9039cca23 100644 --- a/robocode.content/src/main/resources/twinduel.command +++ b/robocode.content/src/main/resources/twinduel.command @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xdock:icon=roborumble.ico -Xdock:name=TwinDuel -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt + +# Java 12 and newer java -Xdock:icon=roborumble.ico -Xdock:name=TwinDuel -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt cd "${pwd}" diff --git a/robocode.content/src/main/resources/twinduel.sh b/robocode.content/src/main/resources/twinduel.sh index 022324522..5f8f04ef3 100755 --- a/robocode.content/src/main/resources/twinduel.sh +++ b/robocode.content/src/main/resources/twinduel.sh @@ -9,5 +9,9 @@ pwd=`pwd` cd "${0%/*}" +# Older than Java 12 +# java -Xmx512M -cp "libs/*" -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt + +# Java 12 and newer java -Xmx512M -cp "libs/*" -Djava.security.manager=allow -XX:+IgnoreUnrecognizedVMOptions "--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED" "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED" "--add-opens=java.desktop/sun.awt=ALL-UNNAMED" roborumble.RoboRumbleAtHome ./roborumble/twinduel.txt cd "${pwd}"