Java Programming for Raspberry Pi

A Hands-On Guide to Electronics and IoT Projects (2026 edition)

For sale as ebook on Leanpub, with continuous free updates!

Introduction

Cover of ebook and paper book 'Getting Started with Java on the Raspberry Pi'

When I first managed to blink a LED connected to a Raspberry Pi with Java, I was super excited!

Controlling physical things with some lines of code is magic! This book includes a lot of info and history about Java itself and how to install it on the Raspberry Pi. Also, a lot of tips and tricks to become or be a better developer. And above all many simple examples on these and even more other topics.

My goal was to collect all the information I would have liked to have gathered when I started my experiments with Java on the Raspberry Pi. If you are new to Java, you will learn the language bit by bit by following the examples. As an experienced Java programmer, you will learn how you can extend your knowledge and control the world around you with simple and inexpensive components.

The ebook is available on Leanpub for a pay-as-you-wish price starting at 9.99$. The sources, extra links, and documentation are available for free on GitHub.

The paper book is sold out! Let me know via “javaonraspberry at webtechie dot be”, if you bought the paper version and want a free ebook with all the updates! Share a picture of you with the book, forward me the order confirmation, or use whatever means available to prove you have it. Tip: I know at least one library where you can find it… ;-)

Video

Book content

History

This book was originally published in 2020 with the title “Getting Started with Java on the Raspberry Pi”. It was also available in a paper book version, published by Elektor. After it sold out, I got all rights back to further distribute it in any form I wanted. To get it republished on Amazon, I needed to change the title, so it is now distributed as “Java Programming for Raspberry Pi: A Hands-On Guide to Electronics and IoT Projects (2026 edition)”. If you already bought the epaper book on Leanpub in the original form, you can still get all updates as it is still the same listing on their website.