Talk:Robocode/Mac OS X

From Robowiki
< Talk:Robocode
Revision as of 15:33, 11 May 2009 by Voidious (talk | contribs) (some feedback)
Jump to navigation Jump to search

The .bat files and .sh files are meant to start it up for you... I'm pretty sure you can get it to work without moving anything around. Try renaming the robocode.sh file to robocode.command. ".command" files are files that OS X recognizes as a double-clickable script. Then you can double click robocode.command, and it will run robocode for you. Let me know if that doesn't work... --BenHorner 00:00, 11 May 2009 (UTC)

If you run from Robocode.jar directly, let me warn you. Tde default java heap size is 128MB, which is too low. The default robocode bat/sh file set it to 512MB. The default heap size will surely give you OutOfMemoryError if you run a melee battle with Shadow,Tron,Aleph,SandboxDT,Logic,Phoenix,... They may fail even if you run just Shadow vs. SandboxDT, but I'm not sure. » Nat | Talk » 01:39, 11 May 2009 (UTC)

I think it's good to have a page for this, since Apple's support for Java tends to suck, but I do think there are some inaccuracies in what's posted here now.

  • Saying the installer "doesn't work" isn't quite right. Noting that it doesn't install a traditional Mac .app into the "Applications" folder might be good. It doesn't really matter where you install it, either, so I don't think we need that part. (Personally, I do install to my home dir, like ~/robocode_1.7.1.1.)
  • You don't need to copy things around, you can just run robocode.sh from the Terminal in the installed directory. I'm not sure about the ".command" bit, but it would be cool if that worked, too. Clearly, this isn't obvious, so it would be good to put that info here. =)
  • The shell on OS X actually isn't much different than other Unix systems...
  • I'm really not sure about 1.7.1.1 running any faster than previous versions. It seems unlikely and I haven't noticed, but I've just recently come back to active Robocoding. There are some other Mac Robocoders that could probably comment on that.

Off the top of my head, mentioning SoyLatte Java and the details (which I don't know) of the Java 6 beta on OS X seem worth posting here. Not that you need Java 6 for Robocode, but you might for some bots.

--Voidious 14:33, 11 May 2009 (UTC)

You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.

There are no threads on this page yet.