program the LPT port using Java. Really? – Education Career Blog


OS is Windows XP

have LPT port

LED light bulb is connected to the LPT port


using Java to make the bulb flash
Is it possible?
Interested in real, proven solutions.

Has anyone done this?

I have our few options: the use javax.comm and RXTX. How successful is to use these solutions?


There used to be a nice Java parallel port library available at this URL:

It seems to be gone now, however you can still access it through the Internet Archive’s wayback machine:

The files can also be downloaded from here (Windows and Linux versions available, binaries and source code included):

Note that for Windows XP you’ll need to install a kernel-mode driver such as UserPort. This also can be downloaded from the sites above.

Leave a Comment