Tagged "Linux"

Java 21+ on Raspberry Pi Zero 2 is Back In Business

As described before on Java 21+ Not Working on Raspberry Pi Zero 2, a problem appeared to execute Java code on the Raspberry Pi Zero 2 with OpenJDK 21 or higher. Reason: in OpenJDK 21 the Just-In-Time (JIT) compiler has been improved, but this change doesn’t work correctly on the ARM Cortex-A53 processor as used in the Zero 2. It’s another type of processor compared to, for instance, the Raspberry Pi 4 (Cortex-A72) and 5 (Cortex-A76).

Java 21+ Not Working on Raspberry Pi Zero 2

Originally posted on the Pi4J website.

Dieter Holz was experimenting with Pi4J V3 on a Raspberry Pi Zero 2. Because this version requires Java 21 or newer, he upgraded his OS to a newer Java version and found out that no Java code could be executed. He tried with Java 21 and 24, and neither worked correctly, although Java 17 runs without problems.

Scratch and Arduino on Linux

At CoderDojo we have the luck to receive old laptops from companies. We use them for kids who don’t have a laptop or can’t bring one to the Dojo’s. For security reasons these laptops sometimes are compleltely erased or reinstalled with a new OS without license. Therefor we use them with Linux Ubuntu.