Robocode is primarily being developed on a Windows machine. So it definitely runs here.
The setup file you download is actually an Installer written in Java.

Looking into the screenshot (in the Word file), it seems you are close to doing it right.

Assuming that you have downloaded the robocode-1.9.4.4-setup.jar (https://sourceforge.net/projects/robocode/files/robocode/1.9.4.4/robocode-1.9.4.4-setup.jar/download) to your desktop, you can install it from the command line by opening a command prompt and write:

cd %userprofile%/desktop

Next you write

java -jar robocode-1.9.4.4-setup.jar

This starts the robocode installer. You write "java-jar" as one word, but it needs to be separated with a space character: java -jar

I hope this helps? :)

 

Last edit: Flemming N. Larsen 2022-01-31