Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Serial Support in Java(Serial Support in Java)
icon5.gif  Serial Support in Java [message #665883] Sun, 17 April 2011 21:37 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 7
Registered: April 2011
Location: USA
Junior Member
I know this is not a Linux forum, but I have not been able to find a way to install support for serial ports in Java on Linux (Ubuntu). I wanted to write a Java program to connect to an embedded microcontroller using Java and Eclipse, but I could not figure out how to do that and none of the solutions on the Internet or in the various forums seemed to work. I was just wondering if anyone here uses Java and could tell me how to install support for serial port programming. I had to resort to using C# in Linux using MonoDevelop which works well, but I would really like to write a Java program to do the same thing.

Confused
Re: Serial Support in Java [message #665950 is a reply to message #665883] Mon, 18 April 2011 09:59 Go to previous messageGo to next message
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Z.K. <blue-eagle2@lycos.com> writes:

Hi!

> I was just wondering if anyone here uses Java and could tell me how to
> install support for serial port programming.

There's the Java Communications API (javax.comm) which seems to be
exactly what you are looking for.

http://www.oracle.com/technetwork/java/index-jsp-141752.html

However, that seems to date back into 1997, and I'm not sure it if has
been updated ever since.

Bye,
Tassilo
--
Dipl.-Inform. Tassilo Horn | Room: B015
University of Koblenz-Landau, Campus Koblenz | Phone: +49 (261) 287-2745
Institute for Software Technology | Mail: horn@uni-koblenz.de
Universitätsstr. 1, 56070 Koblenz, Germany |
Re: Serial Support in Java [message #666007 is a reply to message #665950] Mon, 18 April 2011 15:18 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 7
Registered: April 2011
Location: USA
Junior Member
Tassilo Horn wrote on Mon, 18 April 2011 02:59
Z.K. <blue-eagle2@lycos.com> writes:

Hi!

> I was just wondering if anyone here uses Java and could tell me how to
> install support for serial port programming.

There's the Java Communications API (javax.comm) which seems to be
exactly what you are looking for.

http://www.oracle.com/technetwork/java/index-jsp-141752.html

However, that seems to date back into 1997, and I'm not sure it if has
been updated ever since.

Bye,
Tassilo
--
Dipl.-Inform. Tassilo Horn | Room: B015
University of Koblenz-Landau, Campus Koblenz | Phone: +49 (261) 287-2745
Institute for Software Technology | Mail: horn@uni-koblenz.de
Universitätsstr. 1, 56070 Koblenz, Germany |


Thanks, I will give it a try. I do wish it was part of Java or at least an eclipse plugin.

Re: Serial Support in Java [message #666836 is a reply to message #666007] Fri, 22 April 2011 23:26 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 7
Registered: April 2011
Location: USA
Junior Member
looks like I need to use rxtx from all my searching on the Internet.
Previous Topic:debug java class launched by ant task
Next Topic:How to create hidden IJavaProject
Goto Forum:
  


Current Time: Thu Apr 25 23:36:11 GMT 2024

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top