Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-24-2004, 06:48 AM   #1
Registered: May 2003
Posts: 77

Rep: Reputation: 15
Bluez and javax.comm ---> NoSuchPortException


I have correctly installed Bluez driver under linux with a serial port emulation "/dev/rfcomm1".
I can open this port with minicom but if I try to use it with the java API java javax.comm I receive the error message "NoSuchPortException".

I don't know if this error comes from a wrong installation of javax.comm or a problem between the API and bluez driver.

Thanks in advance for your help.

Old 06-24-2004, 09:16 AM   #2
Registered: May 2003
Posts: 77

Original Poster
Rep: Reputation: 15

I finally solved my problem by myself. Maybe javax.comm absolutely needs a ttySx string. I have made a symbolic link between ttyS9 and rfcomm1 "ln -s rfcomm1 ttyS9" and if I use ttyS9 as com port parameter it works fine.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is import javax.swing.*; Dutchman Programming 4 06-16-2005 10:12 AM to byte[] csfalcon Programming 0 04-13-2005 11:34 AM
getting javax.swing.* to appear student04 Programming 8 10-05-2004 10:06 AM
javax.swing doesn't work israel Programming 4 02-19-2004 11:59 PM
javax comm for suse linux kingshrimp Linux - Newbie 4 11-26-2003 09:19 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration