Build the best - destroy the rest!

Sunday, 30 March 2025

Robocode 1.9.5.5

Version 1.9.5.5 (29-Mar-2025)

Changes

  • Robocode cannot run with Java 24, which implemented JEP 486: Permanently Disable the Security Manager.
    • Robocode has its own security manager built on top of Java's Security Manager, which has now been removed with Java 24.
    • Robocode will not start up when running Robocode on Java 24 and newer. Instead, an error message is written out that Robocode does not support Java 24.
    • Fixing this issue requires a big rewrite of large parts of the security mechanisms in Robocode to prevent robots from doing harm on the system and from cheating against other competitor robots in battles.
    • Use Java 23 or an older version of Java instead, or head over to the new platform for Robocode: Robocode Tank Royale.
Download Robocode 1.9.5.5 from here

Monday, 30 September 2024

Robocode 1.9.5.4

Version 1.9.5.4 (30-Sep-2024)

Bugfix

  • The built-in Eclipse Compiler for Java (ECJ) could not be found.
Download Robocode 1.9.5.4 from here

Wednesday, 11 September 2024

Robocode 1.9.5.3

Version 1.9.5.3 (11-Sep-2024)

Bugfix

  • [#66]: Fixed an issue where Robocode would not start when executing the robocode.sh script for Linux and macOS due to this error: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
    • Thanks goes to @scientificworld for this fix. 😊

Improvements

  • Upgraded built-in Eclipse Compiler for Java to version 3.39
Download Robocode 1.9.5.3 from here

Wednesday, 17 July 2024

New tutorials for Robocode

I have spent some time of my summer vacation to write a tutorial named Getting Started, if you are new to Robocode Tank Royale.

In addition, I wrote a tutorial named Beyond the Basics, which any Robocoder should read to advance his/her skills for making more advanced robots. This tutorial is written for the Tank Royale version, but applies the original version of Robocode as well.

Happy Robocoding! ❤️

Tuesday, 24 October 2023

Robocode 1.9.5.2

Version 1.9.5.2 (24-Oct-2023)

Bugfix:

  • Fixed Throwable: java.lang.LinkageError: loader constraint violation: when resolving method issue in the RobotClassLoader.
Download Robocode 1.9.5.2 from here

Sunday, 30 July 2023

Robocode 1.9.5.1

Version 1.9.5.1 (30-Jul-2023)

Bugfix:

  • Fixed ClassCastException with URLClassLoader when accessing ClassLoader.getSystemClassLoader() on Java version newer than Java 8 and running with -DNOSECURITY=true.

Improvements

  • Updated all .bat, .sh, and .command files so the _JAVA_OPTIONS is now set automatically regardless of the Java version.
  • Updated dependencies.
Download Robocode 1.9.5.1 from here

Sunday, 26 February 2023

Robocode 1.9.5.0

Version 1.9.5.0

Please 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:

_JAVA_OPTIONS="-Djava.security.manager=allow"

If you are running on Java 12 or newer, then the above line is required, and should not be removed!

Bugfix:

  • Bug-418: Excluded bots are removed from LiteRumble. Thanks to Xor for this fix! :)

Improvements

  • Updated all .bat, .sh, .command files with detailed information about various settings. Now you only need to comment out the line containing _JAVA_OPTIONS="-Djava.security.manager=allow" if you run on Robocode on a Java version older than version 12, and you can disable Direct3D on Windows, and also set the rasterizer used in Direct3D. Have a look at robocode.bat and robocode.sh if you want to see the details.
  • Robocode does not touch any sun.java2d programmatically anymore as these give different results on different hardware (obviously). So the user needs to set these explicitly as options when starting up Robocode. Go to this page if you want to experiment with
    these settings.
Download Robocode 1.9.5.0 from here