Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Running JavaFX on iMX6q

user13777733Jul 2 2015 — edited Jul 2 2015

Hi all, I purchase a SoM which comes with iMX6q and Yocto Daisy r8. I build fsl-image-gui as mentioned on https://wiki.openjdk.java.net/display/OpenJFX/OpenJFX+on+Freescale+i.MX6 to get EGL libraries compiled agaist framebuffer (the -fb.so ones). Now I'm trying to run samples, but I got this:

Error: JavaFX runtime components are missing, and are required to run this application

It seems that JDK8u33 doesn't have JavaFX bundled with it. I can't see another option for getting JavaFX besides building it (cross building it in my case) as mentioned in openjdk wiki. I tried this blog post, but is targeted to raspberry pi, I don't know if it would work on iMX6 or if depends on stuff from raspbian, any way running JDK8u60 with samples provied in same link gives me this Exception:

Caused by: java.lang.UnsatisfiedLinkError: /opt/jdk1.8.0_60/jre/lib/arm/libglass.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2015
Added on Jul 2 2015
1 comment
700 views