Jvm mixed mode and JavaFx error

235 Views Asked by At

I try to launch my javafx(gluon crosplatform) application on orange pi Armbian operation system.

Use zero,zulu,oracle jdk(try all).
Use embeded javafx from gluon.
Use -Dmonocle.platform = X11 Dprism.order = es2

I have very strange problem. The application does not work in jvm mixed mode but works ok (but very slow) in interpreted mode (-Xint command line argument). In mixed mode, the application can't get Egl display and throws an Exception:

com.sun.glass.ui.monocle.GLException: 0x3000: Could not get EGL display
        at com.sun.glass.ui.monocle.AcceleratedScreen.<init>(AcceleratedScreen.java:84)
        at com.sun.glass.ui.monocle.NativePlatform.getAcceleratedScreen(NativePlatform.java:127)
        at com.sun.prism.es2.MonocleGLFactory.initialize(MonocleGLFactory.java:107)
        at com.sun.prism.es2.ES2Pipeline.<clinit>(ES2Pipeline.java:82)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:187)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
        at java.lang.Thread.run(Thread.java:745)

Does anyone have any idea?

0

There are 0 best solutions below