BlueCove bluecove library unavailable - Error using Bluecove / Java

How to install Bluecove on an Ubuntu 11 / Eclipse environment?

As far as I know, all I had to do was add bluecove.jar and bluecove-gpl.jar to the project build path in Eclipse.

I am using some Bluecove code example found here: http://bluecove.sourceforge.net/bluecove/apidocs/overview-summary.html#DeviceDiscovery

When I compile it, I get an error: Native Library bluecove_x64 not available Exception from the main stream javax.bluetooth.BluetoothStateException: BlueCove bluecove library is not available

Obviously, my Bluetooth USB dongle is connected when I do this ... I definitely have the BlueZ protocol suite installed.

What am I doing wrong? Does Bluecove support 64-bit Linux? I am also trying to install it on a CentOS 5.5 machine, but no luck.

Any help would be greatly appreciated. Thanks you

+5
source share
1 answer

I found a solution to the problem.

for ubuntu version

sudo apt-get install libbluetooth-dev 

for fedora version

yum install bluez-libs-devel

gotta do the trick

Source: http://bluecove.org/bluecove-gpl/

Source: http://yasir03.online.fr/?p=267

The package has a different name in CentOS 5.5 ... this

bluez-libs-devel-3.7-1.1.x86_64  <---64-bit
bluez-libs-devel-3.7-1.1.i386  <---32-bit
+21
source

All Articles