xception in thread "main" java.lang.IllegalStateException: Bluetooth failed to initialize. There is probably a problem with your local Bluetooth stack or API.

98 views
Skip to first unread message

Tidus Yiu

unread,
Nov 2, 2010, 3:52:12 PM11/2/10
to bluecove-users
I am trying to connect my wii remote to my pc(win7 x64) with a
widcomm driver bluetooth dongle
after calling the method:

WiiRemote remote = null;
remote = WiiRemoteJ.findRemote();

it shows the following error messages:

run:
Exception in thread "main" java.lang.IllegalStateException: Bluetooth
failed to initialize. There is probably a problem with your local
Bluetooth stack or API.
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:56)
at WiiSRV.main(WiiSRV.java:28)
Caused by: javax.bluetooth.BluetoothStateException: BluetoothStack not
detected
at
com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:476)
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.getLocalDeviceInstance(LocalDevice.java:
75)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:
95)
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:49)
... 1 more
Java Result: 1


what is the problem?

Loren Kuich

unread,
Oct 21, 2013, 1:48:59 AM10/21/13
to bluecov...@googlegroups.com, tidu...@gmail.com
Having the very same problem under Ubuntu 12.04. Using a 32 bit JVM.

Tried with Bluetooth Enabled and Disabled, and got the exact same output.
Reply all
Reply to author
Forward
0 new messages