Skip to content
Pure Java implementation of JavaComm SerialPort
Branch: master
Clone or download
Latest commit ccf20ca Jan 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add 1.0.3 jar Jan 9, 2019
c Update for version 0.0.9 Oct 28, 2012
doc Loopback connector diagram May 11, 2011
gradle/wrapper Use gradle wrapper. Oct 29, 2016
lib Added jna-4.0.0.jar to the lib directory for convenience Nov 10, 2013
src Emergency release to sync binaries and source code Jan 9, 2019
.classpath
.gitignore
.project
ChangeLog Emergency release to sync binaries and source code Jan 9, 2019
LICENSE.md
LICENSE.txt
README.md
build-jars.xml Update for version 0.0.9 Oct 28, 2012
build.gradle Emergency release to sync binaries and source code Jan 9, 2019
compile
deploy.bat Update for version 0.0.9 Oct 28, 2012
deploy.gradle Emergency release to sync binaries and source code Jan 9, 2019
deploy.sh Version 1.0.1 Oct 1, 2016
gradlew Use gradle wrapper. Oct 29, 2016
gradlew.bat
install.bat Update for version 0.0.9 Oct 28, 2012
makejars New bash script to create the jars without ant May 26, 2011
pom.xml
run
run.bat Version 0.0.28 Sep 13, 2015

README.md

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>
You can’t perform that action at this time.