Hi...
Trying to run b4j bridge on a pi zero. I realise this may simply not be possible, arm6 and java are not a good mix.
I have java 11 installed - from Azul...
Here's the error:
root@raspberrypi:/home/pi/bridge# java -version
openjdk version "11.0.8" 2020-07-14 LTS
OpenJDK Runtime Environment Zulu11.41+75-CA (build 11.0.8+10-LTS)
OpenJDK Client VM Zulu11.41+75-CA (build 11.0.8+10-LTS, mixed mode)
root@raspberrypi:/home/pi/bridge#
root@raspberrypi:/home/pi/bridge# java -jar b4j-bridge.jar
main.main (java line: 28)
java.lang.ClassFormatError: Incompatible magic value 1450507819 in class file jdk/internal/reflect/NativeMethodAccessorImpl
at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:214)
at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:632)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:108)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:95)
at b4j.example.main.main(main.java:28)
Any thoughts anyone?
Thanks....
Trying to run b4j bridge on a pi zero. I realise this may simply not be possible, arm6 and java are not a good mix.
I have java 11 installed - from Azul...
Here's the error:
root@raspberrypi:/home/pi/bridge# java -version
openjdk version "11.0.8" 2020-07-14 LTS
OpenJDK Runtime Environment Zulu11.41+75-CA (build 11.0.8+10-LTS)
OpenJDK Client VM Zulu11.41+75-CA (build 11.0.8+10-LTS, mixed mode)
root@raspberrypi:/home/pi/bridge#
root@raspberrypi:/home/pi/bridge# java -jar b4j-bridge.jar
main.main (java line: 28)
java.lang.ClassFormatError: Incompatible magic value 1450507819 in class file jdk/internal/reflect/NativeMethodAccessorImpl
at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:214)
at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:632)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:108)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:95)
at b4j.example.main.main(main.java:28)
Any thoughts anyone?
Thanks....