I created a small program in Java with JavaFX intended to use on a Raspberry Pi 3. However, only then I found out that Oracle does not provide JavaFX for ARM. Because I don't like the idea of rewriting the app, I've decided to test OpenJFX. The app is working - however, sometimes it does not render modal windows correctly (everything is suddenly upside down and so) - and in the console i found an error:
Code: Select all
error creating shader program
Code: Select all
sudo BRANCH=next rpi-update
Now what's the problem: after I try to run the app, all I get is this:
Code: Select all
Dispman: cannot open display
* failed to add service - already in use?
What would you suggest?
Thank you!