Skip to content

Commit 5873328

Browse files
committed
Fix links
1 parent bfdd263 commit 5873328

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/blog/2025/20250211-welcome-java-21.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ tags: ["Java"]
66

77
2025-02-11 by Frank Delporte
88

9-
The development of the Pi4J library faced a decision point...
10-
11-
_**Stick to Java 11 for existing projects and old Raspberry Pi's ([with ARMv6](/documentation/java-for-arm/)), versus moving on and making use of better and more performant Java code with the latest Long Term Support (LTS) version?**_
9+
_**The development of the Pi4J library faced a decision point...: "_Should we stick to Java 11 for existing projects and old Raspberry Pi's ([with ARMv6](/documentation/java-for-arm/)), versus moving on and making use of better and more performant Java code with the latest Long Term Support (LTS) version?_"**_
1210

1311
We actually wanted to move on to Java 22, as it brings a new way of interacting with C-code, thanks to [JEP 454: Foreign Function & Memory API](https://openjdk.org/jeps/454). As this is the core behavior of Pi4J to interact with the GPIOs, it would make it much easier to implement new ways to control electronics, as confirmed [with a first test by Robert "Eitch"](https://github.com/eitch/pi4j-test/blob/develop/src/main/java/ch/eitchnet/pi4j/test/LibGPIODController.java). But as Java 22 is not an LTS release, we won't make this move yet.
1412

15-
We [asked our users](https://github.com/Pi4J/pi4j/discussions/409) which minimal Java version we should use, but there was no one clear answer, as expected ;-) So with the core team we made a few decisions who are allowing us to bring the project up to "the next level".
13+
We [asked our users](https://github.com/Pi4J/pi4j/discussions/409) which minimal Java version we should use, but there was no one clear answer, as expected ;-) So **with the core team we made a few decisions that are allowing us to bring the project to "the next level" and... Java 21!**.
1614

1715
* We renamed the repository with the sources of Pi4J V2+ from `pi4j-v2` to `pi4j` as it holds the sources of all V2 and future V3, V4,... versions.
1816
* The minimal supported Java version for future releases (V3 and newer) is 21.

0 commit comments

Comments
 (0)