Raspberry 4 export failure

Hi!
Trying to export an app running great launched via processing IDE, still when it’s exported in “Raspberry Pi 32-bit arm” mode and launched in the terminal I get this error:

java.lang.UnsatisfiedLinkError: no processing-io in java.library.path: /home/juke/sketchbook/jukebox_test_6/linux-arm:/home/juke/sketchbook/jukebox_test_6/linux-arm/lib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at processing.io.NativeInterface.loadLibrary(Unknown Source)
at processing.io.GPIO.(Unknown Source)
at jukebox_test_6.setup(jukebox_test_6.java:67)
at processing.core.PApplet.handleDraw(PApplet.java:2088)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)

I’ve installed open JDK 17 still it doesn’t work, same error.
I understand that java doesn’t find its lib, but how could I fix this?

Thanks!

Hugo

1 Like

Hello,
the same bug occurred to me. I found an easy solution to fix it but also made a bug report here:

To get a working script you would have to manually copy the file “/Documents/Processing/libraries/io/library/linux-arm64/libprocessing-io.so” into the “lib” folder of the exported sketch.

Hope it helps.

1 Like