Posts: 1
Joined: Mon Dec 02, 2019 4:08 pm

Running videos on JavaFX in Raspberry Pi Zero

Mon Dec 02, 2019 4:09 pm

I am trying to run a program which shows a simple video through mediaView and then shows a QR code that is associated with a string that the program generates on javaFX in a Raspberry Pi Zero. I have tried to follow this answer Play a video using JavaFX on Raspberry Pi but I get the following problems:

I try to install Gluon following this tutorial ( ... spberry_pi) but I get the following error message when I try to run a JavaFX application WITHOUT video which simply has a button that when pressed show "Hello World":

Error occurred during initialization of VM Server VM is only supported on ARMv7+ VFP

It seems that Gluon doesn't work with the Raspberry Pi Zero but I am not sure.I must say that in order to follow the answer mentioned above I fully reinstalled the Raspberry Pi OS so it's up to date and previously I had been able to run JavaFX applications without video but not using Gluon.

Also when trying to install the gstreamer packages they all seem to be outdated and I can't install them.

So I would be very thankful if anyone could tell me how to not only properly install Gluon on Raspberry Pi Zero but also the needed packages in order to run the video. If you see that this is impossible do you have any ideas how to replicate this program in another language in order to make it work on my Raspberry Pi Zero

Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24129
Joined: Sat Jul 30, 2011 7:41 pm

Re: Running videos on JavaFX in Raspberry Pi Zero

Mon Dec 02, 2019 4:13 pm

Looks like the libraries you are trying to use are not available on the processor type used on the Pi0. They should work on a Pi2 or above which has a more modern SoC.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

Return to “Java”