I'm developing a Raspberry PI project using the Java PI4J library. I've got it working correctly on the PI itself but am not able to run my program outside of the PI as PI4J gives errors when it runs. E.g.
java.io.IOException: Cannot run program "/usr/bin/readelf": error=2, No such file or directory
Does anyone know if it's possible to disable an entire library so I can try and debug other functionality of my program before I place it on the PI? Or alternatively is there a way to run PI4J so as it doesn't give these errors?
Thanks,
Adam