> -----Original Message-----
> From: devl-bounces at freenetproject.org
> [mailto:devl-bounces at freenetproject.org] On Behalf Of Matthew Toseland
>
> On Sunday 16 November 2008 08:41, Daniel Cheng wrote:
> > On Sun, Nov 16, 2008 at 12:45 AM, xor <xor at gmx.li> wrote:
> > >> -----Original Message-----
> > >> From: devl-bounces at freenetproject.org
> > >> [mailto:devl-bounces at freenetproject.org] On Behalf Of
> Daniel Cheng
> > >>
> > >> On Fri, Nov 14, 2008 at 7:53 AM, <xor at freenetproject.org> wrote:
> > >> > Author: xor
> > >> > Date: 2008-11-13 23:53:07 +0000 (Thu, 13 Nov 2008) New
> > >> Revision: 23546
> > >> >
> > >> > Modified:
> > >> > trunk/plugins/WoT/introduction/captcha/CaptchaFactory1.java
> > >> > Log:
> > >> > Implement captcha factory based on kaptcha.
> > >>
> > >> kaptcha need ` -Djava.awt.headless=true ' on linux
> > >>
> > >
> > > Where to specify that parameter?
> >
> > wrapper.conf
>
> So we need to add this to the default wrapper.conf? What
> about existing users?
> Theoretically we could rewrite wrapper.conf ... but is it a good idea?
Currently, WoT does System.setProperty("java.awt.headless", "true");
right after startup. I guess this is sufficient as it will happen before
any classes are loaded which break if headless is false.