Is it possible to use COM ports in TOMCAT on a Win32 system?

eduardo picardi

The JDK used by Tomcat, specified by environment variable JAVA_HOME, was missing the win32com.dll library and the comm port properties file javax.comm.properties that are part of the Win32 distribution of the Java Comm API.

The steps to perform to make COM ports visible by a servlet are:

  • Copy file comm.jar in <JAVA_HOME>jrelibext
  • Copy file javax.comm.properties in <JAVA_HOME>jrelib
  • Copy file win32com.dll in <JAVA_HOME>lib
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact