Java Communications API Tutorial
The Java Communications application programming interface, or API, allows Java applications to connect to internal and external networks and servers, as well as other Java objects in applications that might be hosted on another network's infrastructure. The API allows applications to make connections through parallel and serial ports and to Linux and Windows-based computing environments. This tutorial will walk you through installing the Java communications API on your computer.
Instructions
-
-
1
Obtain the three primary files for the API from the Java developer's network website: comm.jar, win32comm.dll, and javax.comm.properties.
-
2
Place copies of comm.jar in the Java home directory under the "/lib" folder and also in the "/jre/lib/ext" folder.
-
-
3
Paste copies of win32com.dll into the Java home's "/bin" directory, "/jre/bin" directory, and in Window's /system32 folder.
-
4
Complete the installation of the Java Communications API by placing copies of javax.comm.properties into the Java home's "/lib" directory and into the "/jre/lib" directory.
-
1