Running JavaFX headless without native dependencies

Tobi tobi at ultramixer.com
Wed Oct 5 17:39:57 UTC 2016


Hi,

thanks for all your hints, but my problem is not to start JavaFX in headless mode with Monocle. I need to start JavaFX without loading any native libraries (e.g. dylibs). But even the software renderer uses native code…

So I suppose currently there is no prism/monocle implementation which does not uses any native libraries…

Kind Regals,
Tobi



-- 
-------------------------------------------------------- 

 UltraMixer Digital Audio Solutions
 Am Waldschlößchen 2
 D-01099 Dresden
 Germany

--------------------------------------------------------
 http://www.ultramixer.com







> Am 05.10.2016 um 09:20 schrieb Daniel Glöckner <daniel.gloeckner at 360t.com>:
> 
> 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