You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I'm trying to move my JAVA-pi4j-project from Raspberry Pi 3B to Raspberry Pi 4, 64 Bit, Aarch64
I'm using eclipse.
The java-files are compiling, but after start running I get the following message:
kt. 15, 2024 2:45:47 PM com.pi4j.util.NativeLibraryLoader load
SCHWERWIEGEND: Unable to load [libpi4j.so] using path: [/lib/raspberrypi/dynamic/libpi4j.so]
java.lang.UnsatisfiedLinkError: /tmp/libpi4j13390875237928105628.so: /tmp/libpi4j13390875237928105628.so: falsche ELF-Klasse: ELFCLASS32 (Possible cause: can't load ARM .so on a AARCH64 platform)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
...
I guess, I'm using the wrong library. When I tried to install another one, I got compile-errors like "GpioPinDigitalStateChangeEvent cannot be resolved to a type".
I have no idea, what to do now. Can anyone help me?
Andi
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
I'm trying to move my JAVA-pi4j-project from Raspberry Pi 3B to Raspberry Pi 4, 64 Bit, Aarch64
I'm using eclipse.
The java-files are compiling, but after start running I get the following message:
kt. 15, 2024 2:45:47 PM com.pi4j.util.NativeLibraryLoader load
SCHWERWIEGEND: Unable to load [libpi4j.so] using path: [/lib/raspberrypi/dynamic/libpi4j.so]
java.lang.UnsatisfiedLinkError: /tmp/libpi4j13390875237928105628.so: /tmp/libpi4j13390875237928105628.so: falsche ELF-Klasse: ELFCLASS32 (Possible cause: can't load ARM .so on a AARCH64 platform)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
...
I guess, I'm using the wrong library. When I tried to install another one, I got compile-errors like "GpioPinDigitalStateChangeEvent cannot be resolved to a type".
I have no idea, what to do now. Can anyone help me?
Andi
Beta Was this translation helpful? Give feedback.
All reactions