S simrtms New Member Jun 27, 2024 #1 ENG// hi. i have a simple application created with B4J that displays "hello world" when i press a button. When i try to open this application by double-clicking on my windows computer, it doesnt open. When i try to run it in the terminal on my Ubuntu device, I get this error: Error: JavaFX runtime components are missing, and are required to run this application. I am very new to B4J. How can I solve this problem? TR// merhabalar. butona bastığım zaman içerisinde hello world yazan basit bir uygulamam var. b4j kullanarak oluşturdum. bu uygulamayı kendi windows bilgisayarımda çift tıklayarak açmayı denediğim zaman açılmıyor. Ubuntu cihazımda terminalde çalıştırmak istediğim zaman ise aşağıdaki hatayı alıyorum. Error: JavaFX runtime components are missing, and are required to run this application. B4J yi yeni öğrenmeye çalışıyorum. Bu problemi nasıl çözebilirim??
ENG// hi. i have a simple application created with B4J that displays "hello world" when i press a button. When i try to open this application by double-clicking on my windows computer, it doesnt open. When i try to run it in the terminal on my Ubuntu device, I get this error: Error: JavaFX runtime components are missing, and are required to run this application. I am very new to B4J. How can I solve this problem? TR// merhabalar. butona bastığım zaman içerisinde hello world yazan basit bir uygulamam var. b4j kullanarak oluşturdum. bu uygulamayı kendi windows bilgisayarımda çift tıklayarak açmayı denediğim zaman açılmıyor. Ubuntu cihazımda terminalde çalıştırmak istediğim zaman ise aşağıdaki hatayı alıyorum. Error: JavaFX runtime components are missing, and are required to run this application. B4J yi yeni öğrenmeye çalışıyorum. Bu problemi nasıl çözebilirim??
Erel B4X founder Staff member Licensed User Longtime User Jun 27, 2024 #2 You have two options: 1. Use Java 8 and make sure that Java 8 is installed on the client computer. 2. Use Java 11+ and build a standalone package. The standalone package is platform specific. Building it on Windows is trivial. Building it on Linux is a bit more complicated: https://www.b4x.com/android/forum/t...ux-package-with-b4jpackager11.123346/#content Upvote 0
You have two options: 1. Use Java 8 and make sure that Java 8 is installed on the client computer. 2. Use Java 11+ and build a standalone package. The standalone package is platform specific. Building it on Windows is trivial. Building it on Linux is a bit more complicated: https://www.b4x.com/android/forum/t...ux-package-with-b4jpackager11.123346/#content
xulihang Well-Known Member Licensed User Longtime User Jun 28, 2024 #3 I have two other options: 1. Use Liberica JRE which supports Java 11+. 2. Add arguments to use JavaFX: https://www.b4x.com/android/forum/threads/trying-to-use-the-latest-java-23-and-javafx-23.161167/ Upvote 0
I have two other options: 1. Use Liberica JRE which supports Java 11+. 2. Add arguments to use JavaFX: https://www.b4x.com/android/forum/threads/trying-to-use-the-latest-java-23-and-javafx-23.161167/