Discussion:
Run the setup in a headless environment
noppelmax via robocode
2017-02-04 13:57:51 UTC
Permalink
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
--
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Patrick Cupka
2017-02-04 16:45:00 UTC
Permalink
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 <
Post by noppelmax via robocode
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
--
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
For more options, visit https://groups.google.com/d/optout.
--
Patrick Cupka, ***@gmail.com
--
--
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 robocode+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...