Robocode's code around RobocodeSecurityManager
has been refactored to ensure compatibility with Java 24 and newer
versions, even after the retirement of the Security Manager in Java 24.
Read more here.
Additionally, Robocode remains fully functional on older Java versions, from Java 8 onward.
Lim Sim Yee found and fixed the following vulnerabilities. Thank you for the PRs ❤️
Vulnerabilities fixes:
Throwable: java.lang.LinkageError: loader constraint violation: when resolving method
issue in the RobotClassLoader
.ClassCastException
with URLClassLoader
when accessing ClassLoader.getSystemClassLoader()
on Java version newer-DNOSECURITY=true
._JAVA_OPTIONS
is now set automatically regardless of the JavaPlease note that you should be aware of which version of Java you are using for running Robocode. Otherwise, Robocode might not start.
You can check this by running this command in a terminal: java -version
. If you are running on a Java version older than version 12, you need to uncomment or remove this line in the robocode.bat
or robocode.sh
file:
shell
_JAVA_OPTIONS="-Djava.security.manager=allow"
... read more
NOSECURITY=true
could cause a ClassNotFoundException
for the robots.sun.java2d.ddoffscreen=false
. Hence, this setting has been removed.NOSECURITY
or EXPERIMENTAL
property has been set to true, a warning is now printed out to standard out. sun.java2d.d3d=false
(turn off use of Direct3D)sun.java2d.ddoffscreen=false
(turn of Direct Draw off-screen)sun.java2d.noddraw=true
(no use of Direct Draw)sun.java2d.opengl=True
-source 1.5
to the ECJ compiler options to prevent "...only available if source level is 1.5 or greater"
System.getenv
is now allowed and can now be calledSystem.getenv
.-Djava.security.manager=allow
.on
was written to the console.choco install robocode
Robocode 1.9.4.2 has been released
This version is a maintenance release that fixes issues with team robots. Read more about it here:
https://robo-code.blogspot.com/2021/05/robocode-1942.html
Happy TeamRobot coding! :)
This release comes with lots of improvements. First and foremost, the old Maven build setup has been replaced with a Gradle build setup, and we moved to use IntelliJ IDEA for developing Robocode. The Robocode artefacts can also be uploaded to Sonatype's Maven Repository using Gradle.
In addition, a bug fix has been made for ramming, but a lot of other improvements were made for easy testability.
And a RoboRumble client has also been published as Docker image as well.... read more
The RoboWiki is currently down. Julian Kent is providing a temporary RoboWiki based on a backup from September running on a Raspberry Pi:
http://robowiki.duckdns.org
A big thanks go to Xor (@bumfo) for the recent fixes and improvements. 😃👍
This version fixes a problem where robot could not be found when compiled, and problems regarding development versions of robots (marked with a asterix character). Robots are also detected faster under RoboRumble. A security issue with DNS interaction has also been fixed.
Robocode 1.9.3.5 has just been released, which fixes issues for the RoboRumble and also adds support for developing robots in the Kotlin programming language.
Enjoy Robocoding! :-)
This release fixes issues with packaging robot teams, handles a visual HiDPI scaling issue, and running more frequent checks with the RoboRumble server.
Read more about it here:
http://robo-code.blogspot.dk/2018/03/robocode-1931.html
Robocode 1.8.1.0 has just been released, which is a maintenance release that fixes the Skipped Turns issues among other issues. :-)
Enjoy!
http://robo-code.blogspot.dk/2013/03/robocode-1810.html
Robocode 1.7.4.4 has been released Read the details here:
http://robo-http://robo-code.blogspot.dk/2012/11/robocode-1744.html
Robocode 1.7.4.3 has been released
Read the details here:
http://robo-code.blogspot.dk/2012/11/robocode-1743_17.html
Read the details here:
http://robo-code.blogspot.dk/2012/08/robocode-1742.html
Read more about it here:
http://robo-code.blogspot.com/2012/07/robocode-1741.html