Menu

Startup Problem

Help
2019-10-27
2019-10-27
  • Mike McGuire

    Mike McGuire - 2019-10-27

    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...:) ).

     
    • Flemming N. Larsen

      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,

      • Flemming

      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...:) ).


      Startup Problem
      https://sourceforge.net/p/robocode/discussion/116459/thread/9b59fac093/?limit=25#e042


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/robocode/discussion/116459/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • Mike McGuire

        Mike McGuire - 2019-10-27

        It didn't even occur to me to try robocode.command, but that did the trick

        • thanks! Is there a way to change the instructions to let Mac users know
          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:

        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,
        - Flemming

        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...:) ).


        Startup Problem

        https://sourceforge.net/p/robocode/discussion/116459/thread/9b59fac093/?limit=25#e042

        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/robocode/discussion/116459/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/


        Startup Problem
        https://sourceforge.net/p/robocode/discussion/116459/thread/9b59fac093/?limit=25#e042/d5e9


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/robocode/discussion/116459/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         
  • Mike McGuire

    Mike McGuire - 2019-10-27

    That's it - I didn't even try robocode.command. It works perfectly - thanks!

     

Log in to post a comment.

Auth0 Logo