Re: Digest for [email protected] - 2 updates in 1 topic
"Flemming N. Larsen" <[email protected]> Sat, 04 Feb 2017 20:43:25 +0000
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <CAHy937s0Q7y2PKuASMjnanZzBY2q3HBi+wGMoe4Da3wsdwdqQQ@mail.gmail.com> |
Hi Max, I agree with Patrick. You could also try out the -nodisplay option and put it into the robocode.sh file. As far as I remember, this will automatically set -Djava.awt.headless=true internally in Robocode. Read more about command line options for Robocode here: http://robowiki.net/wiki/Robocode/Console_Usage Best regards, - Flemming lør. 4. feb. 2017 kl. 21.09 skrev <[email protected]>: > [email protected] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/robocode/topics> Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Topic digest > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/robocode/topics> > > - Run the setup in a headless environment > <#m_4963614562810672680_group_thread_0> - 2 Updates > > Run the setup in a headless environment > <http://groups.google.com/group/robocode/t/6926c2e7316de0b0?utm_source=digest&utm_medium=email> > [email protected]: Feb 04 05:57AM -0800 > > Hey, > > is there any way of running the setup jar in a headless environment? In my > case a linux server or even a docker container. Im doing some test with > genetic algorithms. > > Best regards, > Max Noppel > Patrick Cupka <[email protected]>: Feb 04 11:45AM -0500 > > Maybe passing -Djava.awt.headless=true to the JVM will help? I have that in > my notes to add to the default properties in RoboRunner and a couple people > have mentioned it on the wiki. There's an old thread about it here: > > http://robowiki.net/wiki/Thread:User_talk:Beaming/what_to_do_with_about_printing_to_much%3F > > Also, I don't think you need to run setup, if that's the piece requiring a > display - you can just copy the installed dir over to the server. I'd just > clear config/robocode.properties to let the CPU constant recalculate. > > Hope that helps - good luck. > > On Sat, Feb 4, 2017 at 8:57 AM, noppelmax via robocode < > > -- > Patrick Cupka, [email protected] > -- > Back to top <#m_4963614562810672680_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/robocode/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.