java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via raspberrypi.org by Unknown author, 1 year ago
The path has to be absolute, but found: \lib\libpi4j.so
via Google Groups by Kite, 5 months ago
The path has to be absolute, but found: \lib\libpi4j.so
via raspberrypi.org by Unknown author, 2 years ago
The path has to be absolute, but found: \lib\libpi4j.so
via Google Groups by Aileen Kutschik, 10 months ago
The path has to be absolute, but found: \lib\libpi4j.so
java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so
at com.pi4j.util.NativeLibraryLoader.loadLibraryFromClasspath(NativeLibraryLoader.java:120)
at com.pi4j.util.NativeLibraryLoader.load(NativeLibraryLoader.java:92)
at com.pi4j.wiringpi.Gpio.(Gpio.java:174)
at com.pi4j.io.gpio.RaspiGpioProvider.(RaspiGpioProvider.java:51)
at com.pi4j.io.gpio.GpioFactory.getDefaultProvider(GpioFactory.java:106)
at com.pi4j.io.gpio.impl.GpioControllerImpl.(GpioControllerImpl.java:54)
at com.pi4j.io.gpio.GpioFactory.getInstance(GpioFactory.java:89)
at GPIOTest.GPIOTestStart.main(GPIOTestStart.java:53)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.