ParallelPort Installation Instructions

  1. Download parport-win32.zip to your computer.

  2. Unzip the file parport-win32.zip. This will produce a hierarchy with a top level directory parport containing the class and source files (along with parport.dll, VC source files, and example programs). This directory (parport) should go in your "Java classes" directory. In other words, it should go in a directory contained in your CLASSPATH.

    The examples in this document assume that you have unzipped the parport-win32.zip file in your C:\java\classes directory and that your JDK installation is in C:\jdk1.4.1. If you have installed JDK in an other location or unzipped ParallelPort-win32.zip in an other location modify the example commands appropriately.

  3. Copy parport.dll to your <JDK>\bin directory (or any other directory included in your system’s PATH):
    C:\>copy c:\java\classes\parport\parport.dll c:\jdk1.4.1\bin
  4. Add parport to your CLASSPATH:
    • If you don't have a CLASSPATH defined:
      C:\>set CLASSPATH=c:\java\classes
    • If you already have a CLASSPATH defined, then your Java classes directory is most probably already there, and the compiler will find parport easily. In case it's not, you can do this:
      C:\>set CLASSPATH=c:\java\classes;%CLASSPATH%
  5. If you have Windows NT (or higher) then you need to install UserPort. It is a Windwos NT/2000/XP kernel mode driver for direct port I/O. You need to install UserPort if you plan to use Windows NT based operating systems.

API Documentation
The parport directory contains the API documentation for ParallelPort. To view the HTML file, point your browser to ParallelPort.html.