Robocode Problem

Jump to navigation Jump to search
Revision as of 1 September 2014 at 17:40.
The highlighted comment was created in this revision.

Robocode Problem

When I try to open the robocode.bat file, the console opens and then immediately closes. I took a screenshot of the console and it reads

"[file path]>java -Xmx512M -cp libs/robocode.jar robocode.Robocode %*

'java' is not recognized as an internal or external command, operable program or batch file."

Any ideas? Thanks.

    Sheldor (talk)21:43, 30 August 2014

    I should have made it more clear in the OP that I'm not able to use Robocode at all now.

      Sheldor (talk)15:41, 31 August 2014
       

      Assuming Java is installed, this would be the step you're missing: Robocode/System_Requirements#PATH_must_be_set

        Rednaxela (talk)16:15, 31 August 2014

        It worked! Thanks.

          Sheldor (talk)16:38, 31 August 2014
           

          Huh. It seems my Robot Editor no longer has a built-in codesize checker. Did this change with the update, or could I have another missing classpath somewhere?

            Sheldor (talk)18:06, 31 August 2014

            Nevermind, I'm using Voidious's command line trick from here now, so it doesn't matter.

              Sheldor (talk)19:40, 1 September 2014