To run a B4J console or GUI Application on any 64-bit ARM computer, follow these steps:
Have tested it on Raspberry Pi 4 and Orange Pi Zero 3, running Ubuntu 21.04 and 22.04 respectively:
STEP 1: Install openjfx11
sudo apt-get update
sudo apt-get install openjfx
STEP 2: Find out where...
in linux if use MediaPlayer this error show.
MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!
for play sound in linux you can use this java code.
Sub play_sound(path as string)
Dim jo As...
When running outside the IDE, all is well. However, when running the attached (based on the default project when creating a new UI one in B4J) from the IDE, it looks like a Greek font is being used for all views except the form title. Changing e.g. a button's font to Arial instead of the default...
In English
Greetings, I have an app made in B4J that works very well in MS Windows developed using the option "Create a standalone package".
Now when I copy the .JAR file in Linux Centos 7 I get the error: "JavaFX runtime components are missing, and are required to run this application".
I...
This is a demo video of B4J Print Server which is a REST API Web Server. The server can run on Windows and Linux including on a Raspberry Pi OS.
I have also created B4J, B4A and B4i Client app to send request to the server through GET and POST. The print data can contain ESC/POS string sent...
Hello everyone!
I thought I would share my experience on getting B4A running and Linux. I use Manjaro but this should work on any distro. Also, just to make managing your wine prefixes easier use PlayOnLinux or something similar.
1) Create a new 64 bit prefix with wine 6.17
2) Run winetricks...
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.
Wayland is the future in Linux desktop so I think it's useful to find a workaround...
At the moment there are hints that I can try...
I have tried to port a small application to Linux. I am using the b4j-bridge.jar and java11. When I have stared to debug app, there are following message in logs window:
WARNING: package com.sun.glass.ui.win not in javafx.graphics
~e:
WARNING: package com.sun.prism.d3d not in javafx.graphics...
I needed this for a project and didn't find an easier solution (by all means tell me if one exists) so I came up with this code:
' Creates a symbolic link
'
' IMPORTANT: must be run as Administrator on Windows (or Files.createSymbolicLink in the Java code will fail)
'
' Dependencies: the...
UPDATED with latest information on 11/30/2021
I wrote a B4J program that accesses a legacy embedded Derby database so I can migrate data from that database to my new SQLite database. It also works on Windows, Mac, and Linux when run from B4J (using B4JBridge to connect to the Linux and Mac)...
This is my third iteration of a desktop application for individuals to use to help manage their collections. It can also be used for home inventory and, perhaps, that is really how I should be marketing it.
My first program for this purpose was a Windows only version written decades ago in...
The solution for both B4A and B4J has been posted at 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/
*** Contents ***
Intro
Acknowledgements
Disclaimer
Environment
Conventions used in this post
Making it work
Compiling and running your programs
A semi-automated way to get your B4J UI programs ready
Android SDK Manager
Useful tips
*** Intro ***
Ever since the arrival of Windows 10 and all its...
Hello,
We developed and copied a web application, with b4j and hosted it in a web server (VPS, Ubuntu Linux server 20.04). It works fine with the ipaddress mode (http://ipaddress:port). Now we want to access this site with a domain name (eg. http://www.mysite.com).
1. For this what...
Hi i have a problem connecting my jRDC2 connector in my linux server to my b4a app.
In my CentosOS 7
i run my jrdc2
and open my server port using :
sudo iptables -I INPUT -p tcp -m tcp --dport 17170 -j ACCEPT
then
curl http://xxx.xxx.xxx.xx:17170/test
and get an output
RemoteServer is running...
Please note that I am new to B4J. I have made progress but I am stuck in a frustrating place right now. Any help would be much appreciated. Here is the issue:
1. I am working in a Windows 10/VirtualBox (Ubuntu Server) environment.
2. I am compiling my Win 10 B4J BANanoServer WebSocket PWA based...
I don't know if this is old news to people here, but the B4J IDE (including the designer) runs on Ubuntu 20.4 with the latest Crossover (V20).
Crossover even has B4J as a known app, so the install is relatively painless.
But - and there's always a but - when I try to run a simple program B4J...
Hi all, have been combing through the boards, and I see bits and pieces of references for backend stuff, but nothing definitive (perhaps that's the answer) about which way to go as far as selecting the OS for the Virtual Private Server (VPS) and B4J/I/A.
For those that have experimented, any...
It could exist an ide for linux of the products: b4a, b4j.
It seems that ide is made using net framework, nowadays, exists, net core, that can target the three platforms, so I think it is possible in the future to have an ide for linux.
I use linux, however, I have to use Virtual Box, to use...
Hey, i had some trouble with OpenJRE8 and this was the solution.
This Tutorial help you, if you have for example this error:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/image/Image
1. Download Java JRE 8 (in most cases you will need the Linux version)...