G GPN Member Licensed User Longtime User Aug 5, 2015 #1 I'm developing an UI application for Raspberry PI. I'm using B4J with the remote bridge. The application doesn't run cause of missing component on Raspberry PI. I've installed jdk-1.8.0_60 for ARM. What do I have to install on Raspberry? The same error occours when I try: sudo java - jar AsyncInput1 in tempjars. Thanks, regards.
I'm developing an UI application for Raspberry PI. I'm using B4J with the remote bridge. The application doesn't run cause of missing component on Raspberry PI. I've installed jdk-1.8.0_60 for ARM. What do I have to install on Raspberry? The same error occours when I try: sudo java - jar AsyncInput1 in tempjars. Thanks, regards.
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2015 #2 Oracle has removed JavaFX from Java 8. If you want to create a UI app that runs on Raspberry Pi then you need to use Java 7. Upvote 0
Oracle has removed JavaFX from Java 8. If you want to create a UI app that runs on Raspberry Pi then you need to use Java 7.
G GPN Member Licensed User Longtime User Aug 5, 2015 #3 Thanks a lot for your reply. I've followed the steps shown at this link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html I've thought that it is the same for B4J. Why not? Upvote 0
Thanks a lot for your reply. I've followed the steps shown at this link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/raspberryfx.html I've thought that it is the same for B4J. Why not?
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2015 #4 Oracle removed support for JavaFX in the ARM distribution in version 8u33: https://jaxenter.com/jdk-arm-without-javafx-end-javafx-embedded-114212.html You can use Java 8u6. Another (better) option it to create a non-ui app. You can create a server app and access it from the browser. JavaFX apps run very slow on Raspberry Pi which makes them barely usable. Upvote 0
Oracle removed support for JavaFX in the ARM distribution in version 8u33: https://jaxenter.com/jdk-arm-without-javafx-end-javafx-embedded-114212.html You can use Java 8u6. Another (better) option it to create a non-ui app. You can create a server app and access it from the browser. JavaFX apps run very slow on Raspberry Pi which makes them barely usable.
G GPN Member Licensed User Longtime User Aug 5, 2015 #5 I've to realize an embedded product that offer a GUI on a touch display. Could I use a server app for this scope? How can I do it? Thanks for your support. Upvote 0
I've to realize an embedded product that offer a GUI on a touch display. Could I use a server app for this scope? How can I do it? Thanks for your support.
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2015 #6 You have two options: 1. Downgrade to Java 7 or Java 8u6. 2. Create a server app and access it from the built-in browser. Upvote 0
You have two options: 1. Downgrade to Java 7 or Java 8u6. 2. Create a server app and access it from the built-in browser.
G GPN Member Licensed User Longtime User Aug 5, 2015 #7 Thanks a lot for your support. I'll try first the option 1. I've RPi2 it should be more powerful than RPi1. Upvote 0
Thanks a lot for your support. I'll try first the option 1. I've RPi2 it should be more powerful than RPi1.
rwblinn Well-Known Member Licensed User Longtime User Aug 5, 2015 #8 Hi, I had a simliar dilemma. Beside a B4J Server App solution (a great B4J feature), I have developed kind of hybrid B4J apps (using Inline Java for the UI and B4J for the logic) which run pretty well on a RPi2. Look here for more info - but note, these apps have a real simple UI. For complex UIs it will take some effort. I found running JavaFX on RPi as not acceptable (very slow, full screen). Upvote 0
Hi, I had a simliar dilemma. Beside a B4J Server App solution (a great B4J feature), I have developed kind of hybrid B4J apps (using Inline Java for the UI and B4J for the logic) which run pretty well on a RPi2. Look here for more info - but note, these apps have a real simple UI. For complex UIs it will take some effort. I found running JavaFX on RPi as not acceptable (very slow, full screen).
alienhunter Active Member Licensed User Longtime User Aug 6, 2015 #9 Hi Rob said "I found running JavaFX on RPi as not acceptable (very slow, full screen)." running like a charm /full screen on a tv hdmi , i notice a very small delay but... that is a trucking app running on pi-2 with b4j in production in our shop checks every 1 min a sql server for changes and display it the only thing that i did i gave the pi board more memory allocation Upvote 0
Hi Rob said "I found running JavaFX on RPi as not acceptable (very slow, full screen)." running like a charm /full screen on a tv hdmi , i notice a very small delay but... that is a trucking app running on pi-2 with b4j in production in our shop checks every 1 min a sql server for changes and display it the only thing that i did i gave the pi board more memory allocation