Java Periphery with JDK 17 support
Java Periphery is a high performance library for GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O interface access in userspace Linux. Rather than try to build this from scratch I used c-periphery and HawtJNI to generate the JNI wrappers. This saves a lot of hand coding and allows for easier synchronization with c-periphery changes moving forward.
I believe this is the only userspace IO library that supports the new JDK 17 LTS (and still supports JDK 11). I had to fork HawtJNI to make it work with JDK 17. The only caveat is that ARM32 supports JDK 11. For some reason I cannot find a JDK 17 for ARM32 or information on why is was not supported. The install script handles this automatically. ARM64/x86/x86_64 uses JDK 17.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Java U8g2 sgjava 0 1,385 10-20-2021, 09:36 AM
Last Post: sgjava
  Support for 802.15.4 (6LoWPAN & Zigbee) dperkins3600 6 9,965 07-27-2016, 11:01 AM
Last Post: tllim
  What about pixy Support Zoidiano0 2 4,156 02-18-2016, 05:44 AM
Last Post: Zoidiano0

Forum Jump:

Users browsing this thread: 1 Guest(s)