NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
344 stars 143 forks source link

Version 3.20.0 is Java 11+ only #167

Closed wborn closed 4 years ago

wborn commented 4 years ago

Today I also tried nrjavaserial 3.20.0 on another project still on Java 8, but it seems to be compiled for Java 11 @madhephaestus.

The Maven build errors with:

[ERROR]   bad class file: /home/wouter/.m2/repository/com/neuronrobotics/nrjavaserial/3.20.0/nrjavaserial-3.20.0.jar(gnu/io/CommPortIdentifier.class)
[ERROR]     class file has wrong version 55.0, should be 52.0
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.

Wikipedia has a table that explains these numbers.

Version 3.19.0 does seem to work with Java 8.

madhephaestus commented 4 years ago

should be fixed in 3.20.1

wborn commented 4 years ago

Thanks again! It's fixed. :+1: