Help: Bluecove error in Ubuntu

3 views
Skip to first unread message

servus

unread,
Dec 11, 2008, 12:41:58 PM12/11/08
to bluecove-users
i'm doing a project in netbeans using the bluecove library. i already
import the bluecove-gpl-2.0.3.jar and bluecove-2.0.3.jar files into
the project libraries but i can't find a solution for this error:

"Native Library bluecove not available
Exception in thread "main" javax.bluetooth.BluetoothStateException:
BlueCove library bluecove not available
at com.intel.bluetooth.BlueCoveImpl.loadNativeLibraries
(BlueCoveImpl.java:384)
at com.intel.bluetooth.BlueCoveImpl.detectStack
(BlueCoveImpl.java:432)
at com.intel.bluetooth.BlueCoveImpl.access$500
(BlueCoveImpl.java:69)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:
1025)
at java.security.AccessController.doPrivileged(Native Method)
at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged
(BlueCoveImpl.java:1023)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack
(BlueCoveImpl.java:1016)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance
(LocalDevice.java:77)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:
97)
at bluetoothdevicediscovery.BluetoothDeviceDiscovery.main
(BluetoothDeviceDiscovery.java:35)
Java Result: 1"

can anybody help me?

Torben Wehlert

unread,
Dec 11, 2008, 1:44:43 PM12/11/08
to bluecov...@googlegroups.com
Hi!

I had the same problem on my Mac with eclipse. Using Java 1.5 (or
earlier) instead of Java 1.6 solved the problem for me.

A clean build was not enough for some weird reason and caused a
different error. So maybe you want to try it with a new project.

CU
Torben

Vlad Skarzhevskyy

unread,
Dec 11, 2008, 2:39:26 PM12/11/08
to bluecov...@googlegroups.com
Ubuntu 8.10 have BlueZ 4
The 2.0.3-gpl was build only for BlueZ 3

Compile the shared library on your system.

Reply all
Reply to author
Forward
0 new messages