JavaFX on Raspberry PI - libglass.so missing
I have installed Java 8 on my Raspberry PI (running Raspbian)
I downloaded a JavaFX example program (HelloJavaFX2) and ran
it successfully under Java 8 on my PC.
I then transfered it to the PI and ran it.
The first atttempt failed as it needed a path to jfxrt.jar
Fixing that, it then failed -
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /usr/local/jdk1.8.0/jre/lib/arm/libglass.so
The library libglass.so is not in jdk1.8.0
The solution to this problem -
Searching the web I found the following site -
The article states -
* jfxrt.jar is not on the classpath by default (yet). So be sure to include it!
* -Djavafx.platform=eglfb must be specified. If not, it won’t run.
I ran my java fx test with -Djavafx.platform=eglfb and it started to work.
I now get -
ES2Pipeline: OpenGL ES 2.0 embedded device detected
1857463325: glGetError 0x500
The PI forum think this is a problem caused by the type of Mouse !
A question for a different forum.