Recently we published a full getting started guide for Java with VS Code together with a list of tips and plugins for Java development with Visual Studio Code.
But… did you know you can also use it on the ARM-processor-powered Raspberry Pi?
Until recently this was not available in an official version for the Raspberry Pi, but luckily Microsoft decided to release new versions with installers for both 32-bit and 64-bit Raspberry Pis.
Let’s install and test them!
Especially on IoT devices, file corruption on shutdown is a common concern.
This article discusses how to write to disk safely in Java, combining disk sync, shutdown hooks, and atomic renaming of files.
The Raspberry Pi allows us to do a lot of electronic projects without having to wait for ordered components… or even buy them at all… by using virtual components.
Today, I want to show a way to play with a potentiometer. A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider. If only two terminals are used, one end and the wiper, it acts as a variable resistor or rheostat.
In a previous post, Getting Started with FXGL Game Development, we already have taken a look at the FXGL game development framework developed by Almas Baimagambetov.
But, this game engine can also be used for other use cases. In this post, we will be building a system monitoring dashboard, which can run on a Raspberry Pi.
The dashboard can be used to keep an eye on any device that can report its state to a queue. And, for me personally, it finally solves the problem of finding the IP addresses of all my Raspberry Pi’s when my router decided to shuffle them.
- Java Embedded
- Raspberry Pi
Are you a serious Java-developer looking for a fun project?
Or want to learn something completely new and use your Java-knowledge to control electronic components?
Here we go with this small project to get you introduced to the world of electronics programming!
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.
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.
- Java Embedded
- Raspberry Pi
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…
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.
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.
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!