HI, All
I have the B4J app that works under Win10 OK.
I have tried to start it under Linux Mint, understood 2 errors in the console after app crash, updated some for Linux based subs - and app is started under Linux !
It was prepared under Linux with help of this manual: https://www.b4x.com/android/forum/t...-intel-amd-computers-and-vpss.159928/#content
Starting with help of B4JPackager11 and java/linux_jdk-14.0.1.zip was unsuccessful: programmatically creating by B4JPackager11 "temp" folder is always with "root"-owner, and unaccessible.
Successful start was so:
But the app has just 2 differences from working under Win10:
So, question: how to debug B4J development under Linux, and see the error point ?
I have the B4J app that works under Win10 OK.
I have tried to start it under Linux Mint, understood 2 errors in the console after app crash, updated some for Linux based subs - and app is started under Linux !
It was prepared under Linux with help of this manual: https://www.b4x.com/android/forum/t...-intel-amd-computers-and-vpss.159928/#content
Starting with help of B4JPackager11 and java/linux_jdk-14.0.1.zip was unsuccessful: programmatically creating by B4JPackager11 "temp" folder is always with "root"-owner, and unaccessible.
Successful start was so:
sudo java -jar --module-path /usr/share/openjfx/lib --add-modules ALL-MODULE-PATH ~/pcbc2/pcbcomparer2.jar
But the app has just 2 differences from working under Win10:
- Mouse wheel: zooming in and out does not work well, i will record a video how it looks.
- There is the error "XSetErrorHandler() called with a GDK error trap pushed. Don't do that." that was mentioned here: https://www.b4x.com/android/forum/threads/solved-wayland-to-x11-error-in-ubuntu-22-04-with-jdk-11-0-1.141090/#post-893856
sudo java -jar -Djdk.gtk.version=2 --module-path /usr/share/openjfx/lib --add-modules ALL-MODULE-PATH ~/pcbc2/pcbcomparer2.jar
So, question: how to debug B4J development under Linux, and see the error point ?