wienczny / purejavacomm

Pure Java implementation of JavaComm SerialPort

Home Page:http://www.sparetimelabs.com/purejavacomm/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maven Central Javadocs

PureJavaComm is an Application Programmin Interface (API) for accessing serial ports from Java, so this is a library aimed at programmers, not end users.

PureJavaComm aims to be a drop-in replacement for Sun's (now Oracle) abandoned JavaComm and an easier to deploy alternative to RXTX.

PJC is written 100% in Java so it is easy for Java programmers to develop and debug and it requires no native libraries. Native access to the underlaying operating system's serial port programming interface is provided by the wonderful JNA library which takes away all the pain of compiling and deploying native code.

PJC is BSD licensed but please note it depends on JNA which is LGPL/ASL dual licensed.

Obtaining a Copy

PureJavaComm is deployed to Maven Central. Here are a few examples using popular build frameworks.

Using Gradle:

repositories {
    mavenCentral()
}

dependencies {
    compile "com.github.purejavacomm:purejavacomm:1.0.1.RELEASE"
}

Using Maven:

<dependency>
    <groupId>com.github.purejavacomm</groupId>
    <artifactId>purejavacomm</artifactId>
    <version>1.0.1.RELEASE</version>
</dependency>

About

Pure Java implementation of JavaComm SerialPort

http://www.sparetimelabs.com/purejavacomm/index.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 89.3%Language:C 10.5%Language:Shell 0.2%Language:Batchfile 0.0%