Just downloaded the new Raspbian and installed to a fresh SD Card. Did update and upgrade and then followed the steps as detailed here:
https://www.b4x.com/android/forum/threads/javafx-installation-on-raspberry-pi-help-needed.63403/
in order to allow UI apps on my RPi.
Trying to run the google maps example from Erel gives me this error in B4J, bouncing smiley works. I have no idea what it means or how to correct it. Any help please.
https://www.b4x.com/android/forum/threads/javafx-installation-on-raspberry-pi-help-needed.63403/
in order to allow UI apps on my RPi.
Trying to run the google maps example from Erel gives me this error in B4J, bouncing smiley works. I have no idea what it means or how to correct it. Any help please.
Program started.
Java HotSpot(TM) Client VM warning: You have loaded library /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
main._appstart (java line: 63)
java.lang.UnsatisfiedLinkError: /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so: /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.webkit.WebPage.lambda$static$39(WebPage.java:127)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.WebPage.<clinit>(WebPage.java:126)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:824)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:811)
at j
avafx.scene.web.WebView.<init>(WebView.java:271)
at com.lynden.gmapsfx.GoogleMapView.<init>(GoogleMapView.java:70)
at com.lynden.gmapsfx.GoogleMapView.<init>(GoogleMapView.java:55)
at anywheresoftware.b4j.objects.GoogleMapWrapper.Initialize(GoogleMapWrapper.java:63)
at b4j.example.main._appstart(main.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at b4j.example.main.start(main.java:36)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at jav
a.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.lang.Thread.run(Thread.java:745)
Java HotSpot(TM) Client VM warning: You have loaded library /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
main._appstart (java line: 63)
java.lang.UnsatisfiedLinkError: /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so: /opt/jdk1.8.0_73/jre/lib/arm/libjfxwebkit.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.webkit.WebPage.lambda$static$39(WebPage.java:127)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.WebPage.<clinit>(WebPage.java:126)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:824)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:811)
at j
avafx.scene.web.WebView.<init>(WebView.java:271)
at com.lynden.gmapsfx.GoogleMapView.<init>(GoogleMapView.java:70)
at com.lynden.gmapsfx.GoogleMapView.<init>(GoogleMapView.java:55)
at anywheresoftware.b4j.objects.GoogleMapWrapper.Initialize(GoogleMapWrapper.java:63)
at b4j.example.main._appstart(main.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at b4j.example.main.start(main.java:36)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295)
at jav
a.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.lang.Thread.run(Thread.java:745)
Last edited: