Re: ridiculous - javax.swing.text.html.HTMLEditorKit.Parser needs X11 server to work

From: Jon Caldwell (code_poetry_at_yahoo.com)
Date: 01/14/05


Date: Fri, 14 Jan 2005 15:43:13 -0700

Nebojsa Topolscak wrote:
> Thank you, this works !
>
> best,
> Nebojsa
>
>
>>Try passing "-Djava.awt.headless=true" into the java command.
>
>
>
I didn't explain this too well. In case you are curious, Java tries to
access X's font server unless the JVM is in headless mode, in which case
this, and graphics functions are implemented in pure Java, instead of
OS-dependencies.