How to Run JavaFX in Headless mode for Testing

Peter Pilgrim peter.pilgrim at
Wed Jan 23 23:24:21 PST 2013

Hi All

How do we run JavaFX 8 / JavaFX 2 in headless mode for unit test?

Is there a secret GUI flag? e.g. java -Djava.awt.headless=true

Should we install a virtual X frame buffer?

Of course, JavaFX is bypassing AWT in its architecture; so none above,
I think, are guaranteed to work

Peter Pilgrim,
**Java Champion**,
Java EE Software Development / Design / Architect for `BlueChip'
enterprises, London, UK

JavaFX ++ Scala ++ Groovy ++  Android ++ Java

::  ::
:: ::
::  ::
:: Skype Call peter_pilgrim ::
:: ::

More information about the openjfx-dev mailing list