Bluetooth – bluecove library not available – error using bluecove / Java
How do I install bluecove in the Ubuntu 11 / eclipse ide?
As far as I know, all I have to do is bring bluecove Jar and bluecove GPL Jar is added to the build path of the project in eclipse
I'm using some sample bluecove Code: http://bluecove.sourceforge.net/bluecove/apidocs/overview-summary.html#DeviceDiscovery
When I compiled it, I received an error: native library bluecove_ Exception javax in x64 unavailable thread "main" bluetooth. Bluetoothstateexception: bluecove library is not available
Obviously, when I did this, my Bluetooth USB dongle was inserted... I must have installed the BlueZ protocol stack
What on earth did I do wrong? Is bluecove supported on 64 bit Linux? I have been trying to install it on CentOS 5.5 machine, but I have no luck
Any help would be appreciated thank you
Solution
I found a solution to the problem
For Ubuntu version
sudo apt-get install libbluetooth-dev
For Fedora version
yum install bluez-libs-devel
The trick you should do
Source: http://bluecove.org/bluecove-gpl/
Source: http://yasir03.online.fr/?p=267
The package has a different name in CentOS 5.5... It is
bluez-libs-devel-3.7-1.1.x86_64 <---64-bit bluez-libs-devel-3.7-1.1.i386 <---32-bit