linux

  1. aminoacid

    Share My Creation Remote SSH and SCP access with TCP proxy server and MQTT Tunnel

    I have several remote Linux "boxes" collecting sensor data that I occasionally need to SSH into for troubleshooting, etc. The problem is that all of these boxes are behind firewalls as is expected so it's impossible to SSH or SCP into the boxes without having the network administrator open Port...
  2. aminoacid

    B4J Tutorial Run B4J java and javafx UI Applications on Linux ARM32 & ARM64 Computers

    To run a B4J console or GUI Application on any 32-bit or 64-bit ARM computer, follow these steps: Have tested it on Raspberry Pi 4 and Orange Pi Zero 3, 2W running Ubuntu 21.04 and 22.04 respectively: [edit - Also works with 32-bit Raspberry Pi OS on RPI 3 - see @dave4cbu post below] [edit -...
  3. mzsoft

    B4J Code Snippet play sound in linux

    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...
  4. W

    B4J Question [SOLVED] Linux/wine - program running from the IDE uses Greek(?) font?

    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...
  5. SoyDesarrollador

    B4J Question Run .JAR in Linux - Ejecutar .JAR en Linux

    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...
  6. aeric

    Share My Creation Print Server (USB Thermal Receipt) running on Raspberry Pi

    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...
  7. R

    Android Tutorial B4A on Linux 2022

    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...
  8. B

    Bug? B4J Graphical User Interface error with Linux Wayland

    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...
  9. mik21

    Bug? Running app under Linux (KDE 20.04.4 (Focal Fossa)

    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...
  10. W

    B4J Code Snippet CreateSymbolicLink - code to create a symbolic link (on Windows or Linux) [B4J]

    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...
  11. cjpryor

    B4J Question Deployment ClassPath Issue

    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)...
  12. cjpryor

    Share My Creation Collection Management Software for Individuals

    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...
  13. W

    Android Tutorial [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine

    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/
  14. W

    B4J Tutorial [B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine

    *** 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...
  15. S

    B4J Question Re: To work with a Domain name

    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...
  16. V

    B4J Question jRDC2 connection via linux server

    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...
  17. L

    B4J Question [B4JServer] Could not locate b4xV5.ini … [ERROR]: missing the html files.

    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...
  18. S

    B4J Question B4J IDE runs on Linux :)

    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...
  19. NFOBoy

    B4J Question For the VPS backend, which OS?

    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...
  20. Z

    Wish An ide for linux.

    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...
Top