Re: Run the setup in a headless environment

Patrick Cupka <[email protected]> Sat, 4 Feb 2017 11:45:00 -0500
Newsgroups gmane.comp.java.robocode
Message-ID <CAA-77keyz7tUbXmzQ1ZOwURBEsrGdLjGsYwipgHf+w4YK1d4-A@mail.gmail.com>
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 <
[email protected]> wrote:

> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Patrick Cupka, [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.