Running JavaFX headless without native dependencies
Tai Hu
tai.hu at veroanalytics.com
Tue Oct 4 20:58:16 UTC 2016
Recently I converted my JavaFX app to run in a headless Ubuntu Server from command line. I could not find a way to completely git rid of native dependencies. But if you could do the following two things, your JavaFX app should be able to run headless.
1. Install the the following lib
apt-get install libswt-gtk-3-java-gcj
2. Make sure the part of JavaFX application runs in the headless environment do not use any methods from Platform object.
Tai
> On Oct 4, 2016, at 4:38 PM, Tobi <tobi at ultramixer.com> wrote:
>
> 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