Java 185

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.

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
Jan 20, 2020 · 3 min

Reactive Spring Flux data from a Pi

Trisha Gee (Coder, blogger, speaker, Developer Advocate at JetBrains, @trisha_gee ), which I interviewed for “Chapter 4: Choosing an IDE”, and Josh Long (Spring …

#java#pi4j#spring#raspberry-pi
Nov 13, 2019 · 2 min

Raspberry Pi history, versions, pins and headers as a Java Maven library

The best way to understand and learn something new, is to document it yourself. That’s what I’m doing in every step for my book-in-progress. And to fully get the …

#java#raspberry-pi#maven#electronics
Oct 25, 2019 · 3 min

The mystery of the negative byte value in Java

A story of bits, bytes, signed and unsigned Some time ago there was a question on the Pi4J-forum caused by some confusion about a numeric value handled as a byte which was logged …

#java
Jun 20, 2019 · 1 min

Quick start Java development with Visual Studio Code

Great move of Microsoft! They provide an all-in-one installer for Java dependencies and Visual Studio Code. Take a look at …

#java
May 24, 2019 · 1 min

Pi4J to easily work with the hardware of a Raspberry Pi with Java

What is Pi4J See https://www.pi4j.com/1.2/index.html This project is intended to provide a friendly object-oriented I/O API and implementation libraries for Java Programmers to …

#java#pi4j#raspberry-pi#electronics
May 23, 2019 · 6 min

Pi4J - Adding a REST interface with Spring Boot

As I was learning Spring Boot myself, I thought the easiest way to learn was trying to build an example and write about it. So here we go… :-)

#java#spring#pi4j#rest