Open ikke-t opened 6 years ago
Hi @ikke-t, thanks for reporting this. It is designed to take care of all native libraries by loading them from the osgi bundle. However, there was a bug preventing to load libs for some certain OSes / archs.
This PR might resolve your issue: https://github.com/sputnikdev/bluetooth-manager-tinyb/pull/5
I'm in the process of cutting a new release. So please wait a couple of days, I'll let you know when it is ready.
Thanks for quick responce! I'll wait for that then.
Hi @ikke-t , could you please re-test it? The PR was merged awhile ago. Thanks
Hi , I am also having the issue in windows 10 environment,
java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
Exception in thread "main" java.lang.IllegalStateException: java.lang.IllegalStateException: Native libraries for TinyB transport could not be loaded.
at org.sputnikdev.bluetooth.manager.impl.BluetoothManagerBuilder.loadTinyBTransport(BluetoothManagerBuilder.java:225)
at org.sputnikdev.bluetooth.manager.impl.BluetoothManagerBuilder.build(BluetoothManagerBuilder.java:190)
at B2.main(B2.java:15)
Caused by: java.lang.IllegalStateException: Native libraries for TinyB transport could not be loaded.
at org.sputnikdev.bluetooth.manager.impl.BluetoothManagerBuilder.loadTinyBTransport(BluetoothManagerBuilder.java:218)
... 2 more
What am I missing in my system? This is ARM based ODROID board, running ubuntu trusty. I updated the bluez package to the 5.47 as the latest one was reported to break things. What native stuff would need to be installed?
This is running on Oracle Java 8: Java(TM) SE Runtime Environment (build 1.8.0_161-b12)