Yeah, I know. This is a beginners problem except I've been using pi4j for several years now.. I have two java apps running on separate Pi's. (pi4b and pi3b) two days ago everything was running fine then all at once I get the old UnsatisfiedLinkError for libpi4j-pigpio. Both apps are developed on MacOS using NetBeans 12.6 so my first suspicion was the common jar files that both use. Not knowing if a file was corrupted, I upgraded to pi4j- 2.7 in NetBeans. That didn't work.. I triple checked my script files that set up the environment to make sure the parameters "-Dpi4j.library.path=$CLASSPATH -Djava.lib.path=$CLASSPATH" are in the command line.That checked.. The only other thing that I did was system upgrades on both Pi's.. I see the java I'm running with now is dated Oct 2024... since it's been a while since I did an upgrade I'm wondering if there is something fishy the latest version. QUESTION:is there a way to get an older version of java and how do I remove the newer and replace with the older version?
Statistics: Posted by RonRoni — Fri Nov 15, 2024 7:33 pm