I have a jdk 25.0.2 app running on a raspberry pi 5 with jdk 25.0.2.. I’ve run my command line many times under java 11 with no problems. Now under jdk 25 it can't find libpi4j-pigpio.so. I’ve asked chatGPT and github's AI and and am told to use a java command line option. one is --enable-native-library-loading and the other --enable-native-access=ALL-UNNAMED. with the former I get With the latter java runs but still can’t find the libpi4j-pigpio.so file and yes it’s in the pi4j.library.path. I feel this must be a security issue. Maybe I’m wrong. help please.
Code:
Error: Could not create the Java Virtual Machine.Statistics: Posted by RonRoni — Thu Feb 26, 2026 5:52 pm — Replies 0 — Views 49