Results 1 to 6 of 6
  1. #1
    rjagan's Avatar
    rjagan is offline Member
    Join Date
    Feb 2011
    Location
    Puducherry
    Posts
    53
    Rep Power
    0

    Post Add new package javax.comm

    Hi friends,,
    am using netbeans 6.7.. i want to import the javax.comm package for develop serial communication..

    there's no such package import javax.comm.*;

    how to add this package to the netbeans...

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,172
    Rep Power
    20

    Default

    It's an extension, so you'll have to download it:
    Java Communications API

    It is (I believe) platform specific, so you'll need the correct one for whatever platform you're using. Read the docs.

  3. #3
    rjagan's Avatar
    rjagan is offline Member
    Join Date
    Feb 2011
    Location
    Puducherry
    Posts
    53
    Rep Power
    0

    Post <solved>

    <Solved>

    To add new Package in your project..

    Select File-> ProjectProperties -> Libraries

    Add Jar Folder

    Select your What ever u want to add myself (comm.jar) --Ok

    Now you can use your own package in netbeanss...

    Bye bye...

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,728
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Tolls View Post
    It's an extension, so you'll have to download it:
    Java Communications API

    It is (I believe) platform specific, so you'll need the correct one for whatever platform you're using. Read the docs.
    Also note that javax.comm doesn't run on a MS Windows machine; there's a nice clone available: http://www.rxtx.org; it runs even faster than the old version of javax.comm (that one did run on MS Windows boxes).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,172
    Rep Power
    20

    Default

    It actually mentions that in the download page, which is nice.
    Though most people probably wouldn't actually read that part...

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,728
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Tolls View Post
    It actually mentions that in the download page, which is nice.
    Though most people probably wouldn't actually read that part...
    It is so much fun to see people struggle with .so files on their little MS Window boxes ... ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. import javax.comm
    By kareena in forum Threads and Synchronization
    Replies: 2
    Last Post: 09-21-2010, 04:45 PM
  2. comm package api
    By leslie samuel in forum New To Java
    Replies: 5
    Last Post: 08-30-2010, 07:30 AM
  3. Replies: 7
    Last Post: 07-12-2010, 05:24 PM
  4. javax/comm/SerialPortEvent
    By musiigedeo in forum Threads and Synchronization
    Replies: 9
    Last Post: 11-24-2008, 12:07 PM
  5. javax.comm package for COM ports
    By valery in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •