Hi All, We want to write a Java SE application which uses bluetooth as well. I am using netbeans 4.1 as the IDE. I added the JSR 82 jar to the application library. I connected a bluetooth dongle (hardware) to the USB port of the PC. I am tring out the following application.
The application compiles perfectly but when I run the program, I get the following RuntimeException: javax.bluetooth.BluetoothStateException: java.lang.NoClassDefFoundError: com/sun/kvem/jsr082/bluetooth/DiscoveryAgentImpl
Any idea what the problem is. Looking forward for a solution. Thank you. Regards.
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Hi, I have same problem, But it means we can't have a j2se application to discover our BT devices around? I don't think so, but still now, I get that exception!!! Isn't there any Idea? I read in a forum, someone could do this, with a tiny code, I used that code, too, but same problem!!!