I have run the robocode setup.jar on two different Macs, but I keep getting this when clicking on robocode.sh.
Note that I absolutely have the JDK installed (I teach high school java programming...:) ).
That is weird. When installing on a Mac, you should have .command files
instead of .sh files?!
What MacOS version are you using? The Robocode installer might need to be
adjusted.
I attached the robocode.command file for you, you can try out.
Anyways, starting Robocode is done like this when standing in the robocode
folder:
I have run the robocode setup.jar on two different Macs, but I keep
getting this when clicking on robocode.sh.
Note that I absolutely have the JDK installed (I teach high school java
programming...:) ).
That is weird. When installing on a Mac, you should have .command files
instead of .sh files?!
What MacOS version are you using? The Robocode installer might need to be
adjusted.
I attached the robocode.command file for you, you can try out.
Anyways, starting Robocode is done like this when standing in the robocode
folder:
Den søn. 27. okt. 2019 kl. 17.35 skrev Mike McGuire
mikemcguire@users.sourceforge.net:
I have run the robocode setup.jar on two different Macs, but I keep
getting this when clicking on robocode.sh.
Note that I absolutely have the JDK installed (I teach high school java
programming...:) ).
I have run the robocode setup.jar on two different Macs, but I keep getting this when clicking on robocode.sh.
Note that I absolutely have the JDK installed (I teach high school java programming...:) ).
Hi Mike,
That is weird. When installing on a Mac, you should have .command files
instead of .sh files?!
What MacOS version are you using? The Robocode installer might need to be
adjusted.
I attached the robocode.command file for you, you can try out.
Anyways, starting Robocode is done like this when standing in the robocode
folder:
java -Xmx512M -cp libs/robocode.jar -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 $*
Best regard,
Den søn. 27. okt. 2019 kl. 17.35 skrev Mike McGuire mikemcguire@users.sourceforge.net:
It didn't even occur to me to try robocode.command, but that did the trick
that?
Mike McGuire
Computer Science Dept. Chair
Director of EdTech
Database Admin
(303) 761-1764, Ext. 3411
[image: letter head.jpg]
“Educating in the Lasallian Tradition”
On Sun, Oct 27, 2019 at 12:47 PM Flemming N. Larsen fnl@users.sourceforge.net wrote:
That's it - I didn't even try robocode.command. It works perfectly - thanks!