Embedding JavaFX in SWT on Linux (Gtk3)

Anthony Petrov anthony.petrov at oracle.com
Wed May 14 17:03:13 UTC 2014


Hi Tom,

I ran ldd for libjfxwebkit.so, and I see that it doesn't link to GTK 
libraries. However, libjfxmedia.so does, so if you play any media files 
(either directly, or on a webpage open in webkit), then the GTK2 
libraries will be loaded.

--
best regards,
Anthony

On 5/14/2014 4:54 PM, Tom Schindl wrote:
> Hi,
>
> Starting with Eclipse Luna (released in end of June) the default mode of
> SWT on Linux is to make use of Gtk3.
>
> As far as I understand the situation Glass on Linux is linked against
> Gtk2 so JavaFX components that need glass (=fairly everything beside
> javafx-properties) will fail to load - in fact i got reports that the
> JVM crashes.
>
> IIRC i read that monocole has a port that directly uses X11 would it be
> a work-around to run with this port when running in swt-embedding?
>
> Am I right that the webkit binaries are also linked against gtk2 or do I
> remember this wrong?
>
> Tom
>


More information about the openjfx-dev mailing list