Code: Select all
root@phidget1:~/dist# java -jar Light.jar
Exception in thread "main" java.lang.ExceptionInInitializerError: no phidget22java in java.library.path: [/usr/java/packages/lib, /usr/lib/arm-linux-gnueabihf/jni, /lib/arm-linux-gnueabihf, /usr/lib/arm-linux-gnueabihf, /usr/lib/jni, /lib, /usr/lib]
Error loading the Phidget C libraries (libphidget22.so and libphidget22java.so).
Make sure they are available, and add their path to LD_LIBRARY_PATH, or specify with java.library.path.
at com.phidget22.PhidgetBase.<clinit>(PhidgetBase.java:36)
at io.whiteStar.lightSwitch.LightSwitch.<init>(LightSwitch.java:183)
at io.whiteStar.lightSwitch.LightSwitch.main(LightSwitch.java:456)
[2022-02-13 11:31:59.830] [INFO ] [SecurityManager] Created directory /root/LightSwitch/security