Frank Delporte (@frankdelporte) is a Java developer, blogger, author of "Getting started with Java on Raspberry Pi", and contributor to Pi4J. Frank blogs about his experiments with Java, sometimes combined with electronic components, on the Raspberry Pi.
Native Applications for Multiple Devices from a Single JavaFX Project with Gluon Mobile and GitHub Actions
The power of JavaFX combined with the Gluon tools and GitHub actions is amazing. Building and distributing a truly cross-platform application has never been easier!
Really not a single code change is needed to run on different platforms. As you can see from the build processed, the exact same code is used to create native applications for both Windows, Linux, MacOS, iOS, and Android!Frank Delporte
Here on foojay.io you can already find two posts by Carl Dea to get you started with JavaFX.
In this post, I want to show you yet another approach that uses the tools provided by Gluon, who are the maintainers, and the driving force behind OpenJFX.
The Gluon start website and the plugin allow you to get started with a new JavaFX project in a few clicks.
Thanks to the amazing work done by the Gluon team this also gives you a quick-start for the creation of a mobile application which can be built for both Android and iOS.Frank Delporte
FXGL is a JavaFX Game Library Engine for Java and Kotlin, created by Almas Baimagambetov.
In this article, you’ll read what FXGL is, what it is good for, what its dependencies are, as well as a complete scenario with a video and code snippets to set up your first FXGL scenario from scratch.Frank Delporte
Confused about the release cycles of OpenJDK and OpenJFX and the relationship between them? Read on to have all your questions answered.
At this moment, there are no planned features or changes in OpenJFX which require new JDK features (text blocks, records, etc), so the next releases of OpenJFX will most probably still be compatible with JDK 11.Frank Delporte
After my virtual conference talk “Java and JavaFX on the Raspberry Pi” at the “Oracle Groundbreakers APAC Virtual Tour 2020”, I got in touch with some people who were working on JavaFX 3D in the past, and were curious how that would behave on the Raspberry Pi.
JavaFX 3D really is a hidden gem! I’ve been using JavaFX already for a long time now but wasn’t aware of these 3D features… And the demos presented here really impressed me.Frank Delporte
The OpenJDK sources are now fully available and developed on GitHub as a result of Project Skara. Thanks to a lot of work done by the community, the full Java development flow has been migrated to GitHub while keeping the repository history. This process has been described on the GitHub blog.
This also means we are now able to build OpenJDK ourselves from the latest sources, very easily, on any device where we want to use the latest not-yet-released-version.Frank Delporte
A micro SD card is the default way to add an operating system to the Raspberry Pi. But there is an alternative approach that you need to consider if you want to make your system more reliable. SD cards are not super fast and can get quickly corrupted when you are writing a lot to disc.
Switching from SD to USB Boot is very easy if you have a Flash Drive which is supported and the read speed is a lot higher! Combined with the higher reliability, this makes the switch a go go go…Frank Delporte
In this article we present you with another great example of Java on Raspberry Pi. It shows how to create a Micronaut Velocity demo using an 8×8 LED matrix display.
Both on hardware as software level, you have different possible approaches, but the result is the same… a fun project to learn new software technologies and getting introduced into electronics.Frank Delporte
The “Hello World” version of electronics programming is a blinking LED. But, in this post, we will go a few steps further and control 8 LEDs inside a number display.
Igor De Souza, Dublin based Principal Big Data Consultant at Oracle, set up an interesting experiment in which he combines a LED number display with the Raspberry Pi and Quarkus.Frank Delporte
Thanks to Twitter and LinkedIn, I’ve been in touch with several developers who are doing cool Java stuff on the Raspberry Pi.
Here I want to share those projects with you, as they can be an inspiration for all of us to get started with Java development on the Raspberry Pi!Frank Delporte
With Azul Zulu OpenJDK 15, for this post I did some experiments with Java 15, reusing the Ubuntu 64bit SD card which was also used for my earlier post “Startup Speed of Spring and Quarkus JARs on the Raspberry Pi”.
Do you need to switch from OpenJDK 11 to 15? No, not really, based on these results. But each new version has bug and security fixes, new features, and generic improvements!Frank Delporte