libiary not available

422 views
Skip to first unread message

王武生

unread,
Dec 9, 2011, 8:11:33 PM12/9/11
to bluecove-users
Dear sir,
I try to run "LocalDevice localDevice =
LocalDevice.getLocalDevice();" and get the following exception.
I run the program on windows 7, 64 bit, with microsoft's bluetooth
stack.


Native Library bluecove_x64 not available
Native Library intelbth_x64 not available
Exception in thread "main" java.lang.RuntimeException: BlueCove
libraries not available
at javax.bluetooth.LocalDevice.getProperty(LocalDevice.java:300)
at BluetoothDeviceDiscovery.main(BluetoothDeviceDiscovery.java:36)
Caused by: javax.bluetooth.BluetoothStateException: BlueCove libraries
not available
at
com.intel.bluetooth.BlueCoveImpl.createDetectorOnWindows(BlueCoveImpl.java:
896)
at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:
439)
at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:65)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1020)
at java.security.AccessController.doPrivileged(Native Method)
at
com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:
1018)
at
com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:
1011)
at javax.bluetooth.LocalDevice.getProperty(LocalDevice.java:288)
... 1 more

steven_ew

unread,
Dec 14, 2011, 11:48:42 AM12/14/11
to bluecove-users
Hi,

I had this same problem (see an earlier thread). Are you using 64 bit
JVM? I discovered that bluecove only works in 32bit. Try adding the
argument -d32 at runtime (in Netbeans - right click project,
properties, run and add -d32).

BW

Steven

Reply all
Reply to author
Forward
0 new messages