Home > Java > javaTutorial > Installation of Java serial port package Javax.comm

Installation of Java serial port package Javax.comm

高洛峰
Release: 2016-12-19 17:04:35
Original
1645 people have browsed it

Because it is developed under Windows, download http://mdubuc.freeshell.org/Jolt/javacomm20-win32.zip (the complete 2.0 version, as well as examples).

Installation instructions: (The so-called installation here means placing three important files in the specified directory)

After decompressing the downloaded file, there are three necessary files comm.jar in the javacomm20-win32commapi directory. javax.comm.properties and win32comm.dll.

Copy the file comm.jar to %JAVA_HOME%jrelibext;

Copy the file javax.comm. properties to %JAVA_HOME%jrelib;

Copy the file win32comm.dll to %JAVA_HOME%bin.

Note - %JAVA_HOME% is the path of jdk, not jre.


The above note is very important. I have been copying these three files to the directory of javajre before. They are actually jre under jdk. For example, according to the path of my machine, the three files are:


comm.jar is copied to c:Program FilesJavajdk1.6.0_23jrelibext;

javax.comm. properties is copied to c:Program FilesJavajdk1.6.0_23jrelib;

win32comm.dll is copied to c:Program FilesJavajdk1.6.0_2 3bin.



For more articles related to the installation of Java serial port package Javax.comm, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template