Calling exit() using FX2D renderer doesn't stop program

using processing IDE 3.4

  • win 7 32bit
    works fine
  • raspberry pi Raspbian
    can not start:
java.lang.RuntimeException: You need to use "Import Library" to add processing.javafx.PGraphicsFX2D to your sketch.
	at processing.core.PApplet.makeGraphics(PApplet.java:2280)
	at processing.core.PApplet.createPrimaryGraphics(PApplet.java:2317)
	at processing.core.PApplet.initSurface(PApplet.java:10872)
	at processing.core.PApplet.runSketch(PApplet.java:10811)
	at processing.core.PApplet.main(PApplet.java:10511)

no idea what import i need?
testing also P2D P3D on raspberry
show me a black background window,
the “key” exit works,
but i get following red console info:

EGLDisplayUtil.EGLDisplays: Shutdown (open: 1)
EGLDisplayUtil: Open EGL Display Connections: 1
EGLDisplayUtil: Open[0]: 0x1: EGLDisplayRef[0x1: refCnt 2]

and for openprocessing


ERROR
FX2D is not defined

1 Like