B4J Question [SOLVED - Wayland to X11] Error in Ubuntu 22.04 with jdk-11.0.1 - hatzisn    Jun 8, 2022 I have created an Ubuntu 22.04 virtual machine in virtual box and I tried to see how a b4j app I hav... Bug? B4J Graphical User Interface error with Linux Wayland - bfg    Apr 26, 2022 Hi,
I'm using B4JPackager11 to export packages (GUI) in Linux desktop.
My export works very well in Archlinux Xfce/X11 but fails with Ubuntu 21.10 Wayland based.
(java:6154): Gdk-CRITICAL **: 13....txt -m b4j/b4j.MyFirstProgram.main
Wayland is the future in Linux desktop so I think it's useful... B4J Question B4J: how to debug UI app under Linux ? - peacemaker    Jan 31, 2025 /solved-wayland-to-x11-error-in-ubuntu-22-04-with-jdk-11-0-1.141090/#post-893856 But such start... B4J Question java.awt.Robot cannot send Ctrl+V in Linux outside the B4J application - hatzisn (first post)    Aug 17, 2025 It is a Wayland issue. On X11 it works correctly. I changed the compatibility to "gnome classic at xorg" (it has to be installed also) and I ran the test command:
echo $XDG_SESSION_TYPE
I tried different versions of gnome and when it displayed X11 instead of "wayland"... B4J Tutorial [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine - aeric (first post)    Jun 16, 2025 B4J installed, starts but the menu is black to choose from the menu. If you are using Gnome WM, try logout and use X11 session. It seems Wayland is still buggy. If anyone not sure what I mean, in the login screen, click your user name and the Gnome Display Manager (GDM) will show the password screen. Don't enter your password but click on the gear button appeared at the bottom right of the screen. Choose GNOME with Xorg from the options. Enter your password and press Enter. When... B4J Question B4J Packager11 and Raspberry Pi - problem with Release - aeric (first post)    Apr 12, 2022 Not sure this is related, I have problem running GUI app in new Linux with Wayland. I switch to X.org session and the issue is resolved.... Wish Linux distribution is suitable for working with B4A or B4J? - MichalK73 (first post)    Jul 9, 2025   (1 reaction) You can do it on any distribution. The problem is running B4X on Linux. See the thread for Mint https://www.b4x.com/android/forum/threads/b4x-using-running-b4a-and-or-b4j-on-64-bit-linux-mint-20-2-cinnamon-with-64-bit-wine.134069/ However, I was never able to get B4J to run properly on Fedora 42. Now most distributions are switching to the Wayland graphics server which has problems instead of X11. So I went a slightly different route, using QEMU Virtio's KVM. I've described it in... B4J Question B4J app from Windows to Linux - aeric (first post)    Jan 18, 2022   (1 reaction)
(java:6047): Gdk-CRITICAL **: 10:46:03.431: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
It seems the problem with OpenJDK11 with Wayland display server. The workaround is execute java command as:
java -Djdk.gtk.version=2 ...
https://stackoverflow.com/questions/60801629/arch-linux-java-critical-error-executing-jar... Share My Creation Remote Administration via MQTT - Magma (first post)    Aug 18, 2022 Have you tested it on Linux? Hi there.. today found time and tested at Ubuntu 22 (after tricking wayland, install openjdk 14, etc)... Well the Windows version... using jna... so all these must transformed to linux-like commands... with some "IF" tried... bypass some of features... get it worked without capturing, so need to find a good compatible option to capture screen (when it is host)... When it is a client at ubuntu... seems that getting image from host... but something... Page: 1   |