B4J Question B4J on Winboat for Linux

Squiffy

Active Member
Licensed User
Longtime User
I don't know if anyone else has tried this, but I have the IDE for b4j running on linux using winboat (https://www.winboat.app/), including the form designer.

I never got the form designer running on Wine.

Looks like a step forward, although winboat Windows runs in a VM accessed via a browser, so there's a slight lag. But it did run out of the box, so to speak. No Wine gymnastics required.

Not used it in anger yet. Has anyone else tried this?
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Wondering about this when use this URL.

 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I have tried it.
I don't like it.
It uses docker and install the full windows.
It consumes too much RAM and disk space. VirtualBox is better.
I still prefer using Wine and works better even with the designer. If you get black screen form, you can change the dpi value as explained on another thread.
 
Last edited:
Upvote 0

aeric

Expert
Licensed User
Longtime User
With the latest version of Wine 11.0, B4J and B4A run quite well on Linux.
I think it is recommended to run on X11 display server but if I am not mistaken I also able to run it successful under Wayland in Ubuntu.

Try out the single script I created to install a workable B4J installation here:
 
Upvote 0

Didier99

Member
Licensed User
I have not tried this yet. I have B4J running in a VM on Linux Mint, but that's cheating and it brings another set of problems (shared storage, serial ports).
Are you using serial ports in your app?
 
Upvote 0

Didier99

Member
Licensed User
Does the USB debugger work also on B4A under Wine? Are there setup tips you can share? (I have not tried but that will come up soon...)
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Does the USB debugger work also on B4A under Wine? Are there setup tips you can share? (I have not tried but that will come up soon...)
Have you installed VirtualBox Extension Pack? You need to set the Shared Folders.
Why don't you use B4A-bridge? It works for me.
I am not familiar with USB Debugging but My Linux Mint Guest can access my phone storage through USB.
Maybe you need to install Google USB Driver through SDK Manager.
 
Upvote 0

Didier99

Member
Licensed User
I have not. As I said, I have not even started looking at B4A under Linux, I am working on getting B4J running at the moment.

For B4A, I normally prefer using the cable, B4A-Bridge works very well, but I still need a cable to keep the phone charging and so that the screen does not turn off, so using USB is more convenient, not a show stopper.

The issue with storage applies to both B4A and B4J. It is for the SSD development folder when running under VirtualBox. I have multiple machines sharing Windows folders through Sync (which is not supported under Linux unfortunately), and I am not 100% switched to Linux and won't be for a while if ever, so unfortunately I have to be able to share between the Linux and Windows environments. At the moment, I am using Google Drive which is supported under Linux, but it's a bit annoying to setup.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
It is trivial to setup Shared Folder using VirtualBox. Just make sure you have installed the extension and add a folder.
Search for the command to run on the guest terminal.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…