Java Serial Port

World's Best SerialPort Java Developer Tool (since 1996) - World's First Commercial Java Serial Port API

SerialPort Provides Unmatched, Powerful Access Serial Ports with Java

Click here for list of enhancements to the latest version.

SWT example code JTermLite SWT. Includes WSDD-WME project files. This program has been tested on multiple SWT environments including Pocket PC / WinCE (Note: the appropriate SerialPort platform support is required to run this program)

SerialPort is the worlds first, and still foremost Java product for serial ports. SerialPort provides highly flexible control of serial ports from your Java application.SerialPort is a high-performance class that also provides low-level serial port control. If your device plugs into a serial port - on or off the Internet - it is almost certain that you can use SerialPort to communicate with it.

Use SerialPort API or javax.comm.SerialPort?
SerialPort is visionary, shipping over a full year before Sun Microsystems announced the first beta of javax.comm.SerialPort. The SerialPort package also provides javax.comm.SerialPort on more platforms than any company in the world. Use the superior SerialPort API directly, or use javax.comm.SerialPort Click here for more information.

Works with Java Web Start Technology (at last report Sun's implementation did not)

Imagine the power your applications can have when using SerialPort to access serial devices anywhere, on or off the internet!

Zero risk, SerialPort has 30-day money back guarantee.

Supported Java Platforms

See a partial list of supported Java environments.


To implement applet support you must create a 'trusted' applet. If you're interested in creating trusted applets, ask about our Termlet Package which has source code for our Termlet demo, and detailed instructions on how it was built. Note: you need Netscape Communicator 4.04 or later with the Java 1.1 patch to have full JNI support on Communicator. You use with Internet Explorer you need the MSVM with JNI support (the Java support option with IE5 provides this, there is also a VM upgrade for IE4).


For more details on the Java serial port classes look at these:

We won't leave you cold either; we provide examples complete with Java source code. Our JavaTerm program is a powerful serial tool that you can use on any platform supported by SerialPort.

JavaTerm Screen Shots.

Modem classes

These classes make working with modems a snap!

The Comm API

Sun has said that the Comm API provides a Java extension API that allows applications that use the Comm API to be certified as 100% pure. Implementations of the the Comm API are not 100% pure, meaning the Comm API implementations from Sun are not 100% pure. This is an unfortunate confusion since many people tend to think if it comes from Sun it is 100% pure. In summary, applications that use implementations of the Comm API may at some future time be capable of being labeled 100% pure. As far as we know, Sun has not yet provided the specs for testing to KeyLabs (the company that does 100% Java certification) meaning that applications using the Comm API are not 100% pure.

All SerialPort packages (except Lite versions) provide support for our javax.comm.SerialPort implementation of the Java Comm API. Our implementation of the Comm API was done entirely using the SerialPort API (a testament to the power and flexibility of SerialPort). Should you use the superior SerialPort API directly, or use javax.comm.SerialPort? Click here for more information

USB Ports

SerialPort currently supports USB-to-Serial converters. This allows you to communicate with standard RS-232 devices using the USB port(s) of your computer. For more details click here.

Parallel Ports

Parallel ports are not nearly as universal as serial ports. If you need to communicate to a parallel port from Java we recommend using SerialPort to talk with a parallel port by way of a serial-to-parallel adaptor; this way, the same software can be used on virtually all platforms that SerialPort supports. The same will never be true of parallel ports, since many platforms do not have parallel port hardware. Click here for information on our serial-to-parallel adaptors.

Is it 100% Java?

It is unfortunate, but there seems to be much confusion about what 100% Pure Java means. One of the requirements for 100% Pure is that classes do not contain native methods. Since native methods are required to implement the Java Virtual Machine (VM), this in effect means that Java itself is not 100% pure. Only applications can be 100% pure Java. Classes for doing things like communicating with serial ports cannot be 100% pure; however, this does not mean that applications that use these classes cannot be 100% pure. Many 100% pure Java applications/applets have been written that use the SerialPort product.

The Most Cost-Effective Solution

SerialPort provides by far the most cost-effective solution you will find for using Java to control the serial ports for virtually any Java application. You can use serial ports on existing hardware, or plug in USB adaptors, or use serial ports via a LAN or wireless LAN (WAN) connection with devices such as the DevMaster.

Who Is Using It?

Sun, Microsoft, Nortel, Hewlett-Packard, MCI, Bank of Montreal, Texas Instruments, Xerox, IBM, Fluke, AT&T, Pick 'n Pay, Lexmark, Nokia, Motorola, NCR, Ericsson, Cisco, StockPower, SGS Thompson, Mitel, Sony, Borland, Lucent, 3M, Northrop, Tandem, Disney, Rockwell, Compaq-DEC, Siemens, Tektronix, Dupont, NEC, Swedbank, FedEx, Oracle, Mondex, General Dynamics, Equinox, Powerware-Invensys, Seleriti, MobileCom AG, MIT, Lockheed Martin, Cabletron, TRW, Compuware, Fleming, Mettler Toledo, Impulse Radio, Storage Technology, Dupont, Carnegie Mellon, Argonne National Labs, Wavtrace, Alcatel, Dragon Systems, Geoworks, Seiko Epson, Silicon Graphics, Sandia National Labs, Yamaha, Mercedes-Benz, Lufthansa, E-Loan, eToys, Boeing, British Telecom, and many more.

SerialPort is being used successfully by many people and companies worldwide.

Psion Teklogix recommends SerialPort for Java development on Psion Teklogix devices.

What are people saying about SerialPort?

What is SerialPort Doing For Customers?

SerialPort is being used worldwide to provide solutions to more interesting problems than we could ever hope to keep track of. A very small sampling:

electronic payment, GPS interface, digital camera interface, device interface control (local and remote), meter reading and control, barcode scanner interface, modem control, file transfter, robot communications and control, telex interface, remote shopping, sensor monitoring, remote camera control, electronic banking.

See our application showcase.

Package Options

SerialPort is available with many package options to suit the needs of a great variety of developers.

Need to quickly and safely transfer files over any serial port or socket? Need to exchange data with legacy systems? Our Java ZModemJava X/YModem andJava Kermit products are just waiting to cut weeks off your development schedule.

Java Serial Port products
World's Best SerialPort Java Developer Tool (since 1996) - World's First Commercial Java Serial Port API

SerialPort gives you full control of your systems serial ports.

  • Multi-port cards - 96 ports (can be extended with Enterprise license)
  • Bean for serial ports
  • Create EXEs for Win32
  • Speeds from 110 bps to 460.8 Kbps*
  • Full handshake protocol, word size, parity, stop bit control
  • Control size of send and receive buffers
  • Line status checking for CD, CTS, DSR*
  • Control for setting line state on DTR, RTS*
  • Send bytes, packets (byte arrays), and strings
  • Error reporting including UART overrun, framing, and parity errors
  • Ring signal reporting
  • Hardware and Software flow control selection
  • High-performance byte queue
  • Modem utility classes
  • Power PCMCIA and CF card power management features**

* Some hardware platforms do not support this feature. For example, the Macintosh serial interface is more simple than the 80x86 PC platform. As such, the Mac does not provide a RTS line, has no Ring signal to report, and does not provide distinction between CD and DSR. Not all platforms support 230Kbps.

** Platform dependent, check with us to verify support for your platform.

SerialPort has saved me tons of time over the years. Your interface is very concise, straigh

SerialPort has saved me tons of time over the years. Your interface is very concise, straightforward, easy to use and very easy to deploy. SerialPort has been used in-house to deploy data acquisition for a custom wireless network implemented with UHF radio. In addition, we use it in-house for our transponder programming. Deployed at run-time, SerialPort is remarkably fast. I never have to worry if the serial code will keep up with the rest of the app. In fact, most of the time it's the other way around! 

"We have used Serial

"We have used SerialPort in our disk drive manufacturing facilities since the year 2000 and it has performed without a single error in the manufacturing of over 2 BILLION hard disk drives and counting - year of this report is 2010".

Note: Device may not be exactly as pictured.