ELF class problems when Video playback on RaspberryPI

Hrvoje Crnjak hrcrnjak at gmail.com
Sun Mar 6 18:06:27 UTC 2016

Hi all,

first of all, sorry for spamming your mailing list.
Recently I started building JavaFX appllication on RaspberryPi.
The idea of this application is to play .*mp4* videos on demand.

But when I try to use FX Media components (player, view, etc.) in order to
play the Video, I get the following problem :

Java HotSpot(TM) Client VM warning: You have loaded library
/home/pi/java/jdk1.8.0_73/jre/lib/arm/libjfxmedia.so which might have
disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c
<libfile>', or link it with '-z noexecstack'.

Caused by: java.lang.UnsatisfiedLinkError:
/home/pi/java/jdk1.8.0_73/jre/lib/arm/libjfxmedia.so: wrong ELF class:
ELFCLASS64 (Possible cause: architecture word width mismatch)

I wrote about it in detail here :

I used JavaFX build from @chriswhocodes (

Could you help me out please?
I really don't know where to go from here.
If you could at least point me out in the right direction I would be very

Thanks for your time and sorry for the spam!

Best regards,
Hrvoje Crnjak

More information about the openjfx-dev mailing list