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.

May 30, 2022 · 5 min

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 …

#java#tutorial
Mar 18, 2022 · 11 min

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 …

#java#raspberry-pi#vaadin#spring
Feb 7, 2022 · 4 min

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 …

#java#raspberry-pi#sdkman#tutorial
Dec 16, 2021 · 9 min

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.

#java#raspberry-pi#mosquitto#hivemq
Dec 13, 2021 · 8 min

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 …

#java#raspberry-pi#mosquitto#hivemq
Dec 10, 2021 · 14 min

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 …

#java#raspberry-pi#pi4j#mosquitto
Jul 22, 2021 · 1 min

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, …

#podcast#foojay#java#raspberry-pi
Dec 21, 2020 · 9 min

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 …

#java#raspberry-pi#pi4j
Oct 21, 2020 · 3 min

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 …

#java#raspberry-pi#javaonraspberrypi
Oct 15, 2020 · 3 min

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 …

#visual-studio-code#raspberry-pi#java
Oct 10, 2020 · 2 min

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 …

#java#raspberry-pi#pi4j#electronics
Sep 29, 2020 · 4 min

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. …

#java#raspberry-pi
Sep 7, 2020 · 4 min

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 …

#java#python#raspberry-pi
Sep 5, 2020 · 1 min

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, …

#podcast#java#raspberry-pi#pi4j
Jul 26, 2020 · 11 min

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 …

#java#spring#quarkus#raspberry-pi
Jul 13, 2020 · 9 min

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 …

#java#spring#rest#raspberry-pi
Jun 15, 2020 · 2 min

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 …

#java#pi4j#raspberry-pi
May 28, 2020 · 1 min

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, …

#java#maven#pi4j#raspberry-pi
Feb 1, 2020 · 2 min

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 …

#java#pi4j#raspberry-pi
Jan 26, 2020 · 3 min

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 …

#java#pi4j#raspberry-pi