• 0

[JAVA]Instaling Bluetooth API's


Question

I have downloaded the JDK from the Sun site. I have found a set of Bluetooth API's on the site. I downloaded these but I dont know how to use them in my program. They are downloaded as a ZIP file and there are no obvious installer programs inside the ZIP File. Do I just copy the files fromt the downloaded ZIP to where I installed the JDK ? Any help would be greatly appriciated.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
Its the one given here :

Java Bluetooth API.

Does anyone know how to install/make use of the files contained inside this. Also how do I check for the class path.

584762136[/snapback]

The classpath is nothing until you specify it, unless it's preset. Is it just classfiles inside? If so, just do a javac -classpath /path/to/bluetooth/classfiles yourfile.java

Link to comment
Share on other sites

  • 0

Your link doesn't work.

Is that what u have ?

http://jcp.org/aboutJava/communityprocess/...r082/index.html

If so, extract the _source.zip into the directory where your .java files are, and you'll be able to include javax.bluetooth.* in them.

You could also compile all the .java files in there, and make those into a .jar file that you could use as a library.

Edited by Mouton
Link to comment
Share on other sites

  • 0
Well, his link works, but you need some sort of account.

584764303[/snapback]

I'm logged with my Sun account...

It redirects me to "Sun Software Products". Nothing about bluetooth on that page.

Link to comment
Share on other sites

  • 0
Your link doesn't work.

Is that what u have ?

http://jcp.org/aboutJava/communityprocess/...r082/index.html

If so, extract the _source.zip into the directory where your .java files are, and you'll be able to include javax.bluetooth.* in them.

You could also compile all the .java files in there, and make those into a .jar file that you could use as a library.

584764275[/snapback]

Yeah thats the one, Then do I just include the line

import javax.bluetooth.*; and it should work

Edited by Sawyer12
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.