Task #2698

Mis à jour par Sebastien Jacquot il y a plus de 5 ans

To enable JavaFX in TXM we need needs to use JavaFX library and the JavaFX SWT library.

JavaFX library is loaded when "-Dosgi.parentClassloader=ext" is set in the product launcher options

note: the "-Dosgi.parentClassloader=ext" option force us to publish TXM with an installer

JavaFX
SWT library are must be loaded in classloader with SWT libraries: libraries : in 1 plugin org.txm.libs.javafx and 3 fragments org.txm.libs.javafx.linux, org.txm.libs.javafx.win32 and org.txm.libs.javafx.macosx. org.txm.libs.javafx.macosx

Each fragment contains the JavaFX runtime library (jfxrt.jar) org.txm.libs.javafx and fragments contain only the SWT part of JavaFX SWT library (jfxswt.jar).

h3. Validation steps

* install Media Player extension
library.
* open a video from "File\Open Media file..."

Retour