Running the GUI
This guide covers how to launch Robocode Tank Royale after installation and how to use the portable JAR distribution.
After native installation
If you installed the native package, the GUI should be available from your operating system's application menu or launcher as Robocode Tank Royale GUI.
If the application fails to start, verify that:
- Java 11 or newer is installed
JAVA_HOMEpoints to your Java installationjava -versionworks from a terminal
Running the portable JAR
If you prefer a portable installation, download the standalone JAR from the GitHub Releases.
The file name is robocode-tankroyale-gui-x.y.z.jar, where x.y.z is the release version.
You might be able to launch the JAR directly by double-clicking it. If that does not work, run it from a terminal:
java -jar robocode-tankroyale-gui-x.y.z.jarUsing a dedicated directory
It is often useful to place the JAR in a dedicated directory such as C:\Robocode or ~/Robocode.
Why:
- it keeps Robocode files together
- it makes launcher scripts easier to manage
- it gives you a predictable place for optional resources such as
sounds/
Example launcher script on Windows
@echo off
java -jar robocode-tankroyale-gui-x.y.z.jarExample launcher script on Linux or macOS
#!/bin/sh
java -jar robocode-tankroyale-gui-x.y.z.jarMake the script executable on Linux or macOS:
chmod +x run-robocode.sh