Java 191
Java is the core topic across this site. These posts cover modern Java features, OpenJDK evolutions, performance tuning, tooling, and hands-on development lessons from real projects.
Create Music Bingo cards with iText
It has been a while since I last had to create documents in a program, and iText has been “on my radar” to try out for a while now. This weekend we had a party and …
Blink a LED and read a button state with Vaadin, Spring and Pi4J on a Raspberry Pi
As I’m becoming a senior developer in terms of age, I’ve transitioned from one language to another. One of my main interests has always been clean, easy-to-understand …
Installing Java with SDKMAN on Raspberry Pi
If you create a new SD card for a Raspberry Pi with the operating system, you can choose the “Raspberry Pi OS Full (32-bit)” edition, which includes Java 11. But a lot …
HiveMQ Cloud, part 3 - Sending sensor data from Raspberry Pi Pico to HiveMQ Cloud
In the previous two posts in this series, we used Java on the Raspberry Pi mini-computer to send sensor data to HiveMQ Cloud, and visualize it on a dashboard.
HiveMQ Cloud, part 2 - Using MQTT and Raspberry Pi to Visualize Sensor Data on a TilesFX Dashboard
In the previous post we started our discovery of HiveMQ Cloud with Java on the Raspberry Pi. We created an application to send measurements of various sensors to the HiveMQ Cloud …
HiveMQ Cloud, part 1 - MQTT on Raspberry Pi, Send Sensor Data to HiveMQ Cloud with Java and Pi4J
A few years ago I did my first experiments with an MQTT server (Mosquitto) running on a Raspberry Pi to connect an Arduino and Raspberry Pi for the drumbooth of my son . The full …
Foojay Podcast #2: Embedded Java - Robots and FX
Java runs on far more than servers and laptops. It powers ocean robots, garden mowers, hobby boards, and mobile devices. This episode of Foojay Podcast #2 gathers James Gosling, …
JVM Advent 2020 - Light up your Christmas lights with Java and 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 …
Building OpenJDK on Raspberry Pi
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 …
Visual Studio Code on the Raspberry Pi (with 32 and 64-bit OS)
In my book “Getting Started with Java on the Raspberry Pi” , I give more info about IDEs (= Integrated Development Environment) for Java development. My prefered ones …
Using Pi4j (V1) on the Raspberry Pi 4
A topic which comes up from time to time in questions related to Java and the Raspberry Pi, is the support of the 4th version of this board in combination with Pi4J, “the …
64-bit Raspberry Pi OS on Raspberry Pi 4 with USB BOOT
A micro SD card is the default way to add an operating system to the Raspberry Pi. But there is an alternative you need to consider if you want to make your system more reliable. …
Why you should learn to program on the Raspberry Pi
In this article “Java vs Python - Which Programming Language Should Programmer Learn First?” by Javin Paul , you can find a comparison between the two most popular …
Airhacks.fm #104 - Trains, Filmschool, Java on RaspberryPI, Quarkus and MicroProfile
How does a kid who soldered relay boards to drive Lego trains from a Commodore 64 end up running Quarkus on a Raspberry Pi? The thread connects film school in a Brussels castle, …
Comparing a REST H2 Spring versus Quarkus application on Raspberry Pi
Goal of this comparison In my previous post “A Spring REST and H2 database application on the Raspberry Pi” an example was described to store sensors and measurements …
A Spring REST and H2 database application on the Raspberry Pi
Java on Raspberry Pi The “Pi” in the name of the Raspberry Pi refers to Python, but as a Java developer I love to know and experiment with the various Java frameworks I …
Joining the Pi4J team
In my book “Getting Started with Java on Raspberry Pi” I dedicated a chapter on Pi4J , the leading framework to combine the power of Java with the hardware capabilities …
The MagPi step-by-step video
In “The MagPi Magazine” #93 and #94 , published by the Raspberry Pi Foundation, you can find two articles which describe how you can get started with Java, Maven, …
Raspberry Pi and SPI 8x8 LED matrix example with Java and Pi4j
While looking for a cheap and nice component to demonstrate the use of SPI (Serial Peripheral Interface) I found out this 8x8 matrix LED display on a board with a MAX7219 chip is …
OpenWeatherMap forecast on LCD with Raspberry Pi, Java and Pi4J
Pi4J contains helper methods to minimize the work needed to use certain hardware modules on the Pi with Java. As an example, we will be using “GpioLcdDisplay” to …