While many J2ME devices come with an implementation of the Java Bluetooth API (JSR-82), there is no Bluetooth support within the Java Standard Edition. After some research I came across the bluecove project.
Bluecove is a free implementation of the JSR-82 bluetooth API for J2SE. It works with Windows XP, but requires the Microsoft Bluetooth stack installed. This is the case with SP2 or newer. The WIDCOMM and BlueSoleil stacks are supported too. Because bluecove is implementing JSR-82, Bluetooth functionality can be accessed on the PC in the same way as on the mobile device. That makes it easy to start with and allows to reuse code.
After some trying, I finally managed to send data from the mobile to the PC via a Bluetooth connection! Actually, the use of Bluetooth is very simple: Just put the JAR into the classpath. Problems only occured, when the Bluetooth stack or driver were not installed correctly. A way to determine which Bluetooth stack in installed on the system is described in detail on the bluecove project site.












