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 access the full I/O capabilities of the Raspberry Pi platform. This project abstracts the low-level native integration and interrupt monitoring to enable Java programmers to focus on implementing their application business logic.

Evolving…

The creators of Pi4J or in the process of improving it and making it more up-to-date with the current state of Java. One step is bringing everything to Java 11.

Out of personal interest I created some test code extending it with a REST service and JavaFX interface.