Running JavaFX headless without native dependencies

Daniel Glöckner daniel.gloeckner at 360t.com
Wed Oct 5 07:20:09 UTC 2016


Hi,

We're successfully running our full-blown JavaFX application on our build server to run automated performance tests.

Monocle is used as a renderer. Here are the relevant JVM arguments:

 -Dglass.platform=Monocle
-Dmonocle.platform=Headless
-Dprism.order=sw
-Dprism.useFontConfig=false
-Dprism.fontdir=" + jdk_path + "/jre/lib/fonts" 

The font dir stuff was required on our build server. I'm sure you need to tweak this to make it work :)

Kind regards,
Daniel

> -----Original Message-----
> From: openjfx-dev [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf
> Of Tobi
> Sent: Tuesday, October 04, 2016 10:39 PM
> To: openjfx-dev at openjdk.java.net Mailing
> Subject: Running JavaFX headless without native dependencies
> 
> Hi,
> 
> is it possible to run JavaFX in a headless mode without native dependencies?
> Maybe I could use software rendering or monocle to do it?
> 
> So I would like to cut off the real render part of JavaFX (e.g. OpenGL or
> DirectX).
> 
> 
> Thank you for your help.
> 
> Best,
> Tobi



More information about the openjfx-dev mailing list