Cross build JavaFX for iMX6

Jörg Wille joerg.wille at gmail.com
Sun Jul 5 21:46:05 UTC 2015


Hi Daniel,
did you try running javafx with monocle? Also sudo is required.
I am also using yocto and using following bash-script to run ui-apps on
i.MX6:
#!/bin/sh
sudo java \
-Xms128m \
-Xmx128m \
-Dprism.verbose=true \
-Dglass.platform=Monocle \
-Dembedded=monocle \
-Dmonocle.input.touchRadius=1 \
-Dmonocle.platform.traceConfig=true \
-Djava.ext.dirs=build/armv7hf-sdk/rt/lib/ext \
-jar $@

The last line depend whether you have build overlay
<https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Overlay-JDK8>
(gradle -PCOMPILE_TARGETS=armv7hf zips) or just copied the build path (as I
do here).

Are you also using a touch-screen? I stumbled across errors
in monocle/LinuxStatefulMultiTouchProcessor.java. But other than that,
javafx/monocle works on I.MX6.

Regards,
Jörg


More information about the openjfx-dev mailing list