Results 1 to 7 of 7

Thread: Serial port using Java (Windows OS)

  1. #1
    Join Date
    Oct 2008
    Posts
    24

    Serial port using Java (Windows OS)

    Hi folks !

    I have to develop a Windows GUI using Java to control a HP spectrum analyser via the serial port (RS232). I know that once there was a Sun's package that allowed to build applications using serial portS (javax.comm) in Windows OS. But now that package is only for Linux and Solaris OS'es.... ?

    Does anybody know about the subject ? How can I control the analyser through RS232 using Java ? Thanx a lot for any help !

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Serial port using Java (Windows OS)

    I spent some time on how to solve this problem and found it:
    http://www.cnjavaclub.com/06/javatools/1.htm
    That the best way is to install it for all JRE and JDK.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Serial port using Java (Windows OS)

    That is version 2 of the reference implementation. You can get version 3 from Sun.

  4. #4
    Join Date
    Aug 2008
    Posts
    69

    Re: Serial port using Java (Windows OS)

    Thanx for your messages! I downloaded version 2.0 from the API and it works pretty well. It seems that version 3.0 does not include Windows OS'es due to
    an incompatibility with Win2000...

  5. #5
    Join Date
    Feb 2009
    Posts
    1

    ThumbsUp Serial port using Java (Windows OS)

    Sun have withdrawn the Java comm api for windows.
    Last edited by Gaurav; 19-02-2009 at 06:59 PM. Reason: External link removed!

  6. #6
    Join Date
    Apr 2009
    Posts
    1

    Re: Serial port using Java (Windows OS)

    Hi,

    Have you tried rxtx library? The complete example of using this library in java projects in Windows OS is presented here:http://www.kuligowski.pl/java/rs232-...-for-windows,1

    Best Regards
    mark
    Last edited by marksten; 20-04-2009 at 07:23 PM. Reason: External link removed!

  7. #7
    Join Date
    Jan 2010
    Posts
    1

    Re: Serial port using Java (Windows OS)

    From what I know Sun dropped the support for Windows, but you can try various OS-specific extensions. I have used one from JCommWin32 and didn't have any problems so far.

    Good luck
    Last edited by Saket; 25-01-2010 at 09:14 PM. Reason: Warning: External link not allowed

Similar Threads

  1. Replies: 3
    Last Post: 12-12-2010, 11:41 AM
  2. Dongle Problem with windows XP SP2 using LPT1 serial port
    By Rafftar in forum Hardware Peripherals
    Replies: 3
    Last Post: 15-10-2010, 02:47 AM
  3. Serial Port Failure on windows 7.
    By Mahatma in forum Operating Systems
    Replies: 6
    Last Post: 23-08-2010, 08:04 AM
  4. Windows 7 32-bit Pro Serial Port Issue (16-bit application)
    By Amma-Watson in forum Hardware Peripherals
    Replies: 5
    Last Post: 06-04-2010, 11:38 PM
  5. Replies: 4
    Last Post: 05-04-2010, 02:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,829,086.49061 seconds with 17 queries