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.
Version 1.2 has been released and is now available for download. (Downloads | Installation) This is the active development version where you can find the latest fixes and updates.
Latest Development Updates:
Additional details can be found in the project's README.
Please note that this project is continually under development but has been very stable for several years. The functionality is very stable but improvements and bug fixes are continually committed into the 'master' branch in the Pi4J GitHub repository and SNAPSHOT builds are published in the Sonatype OSS repository.
You are welcome to start using and integrating this library in your project. Please provide any feedback good, bad or ugly. (Well maybe keep the ugly feedback to a minimum.)
Visit the Downloads page to download the latest Pi4J library builds.
The simplest method to install Pi4J on your RaspberryPi is to execute the following command directly on your RaspberryPi.
curl -sSL https://pi4j.com/install | sudo bash
To get started using the Pi4J library, please see the following pages: