MangoAutomation / modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.
GNU General Public License v3.0
897 stars 370 forks source link

Jdk support #36

Open sad00731 opened 4 years ago

sad00731 commented 4 years ago

does this project support jdk 1.5?

terrypacker commented 4 years ago

The master branch should be built against Java 1.8. However there is an old version that at some point was ported for Java 1.4 but is in not maintained. It has been awhile since I have dealt with Java 1.5 compatibility so I would suggest you try and compile it with that JDK and see what happens.

The 1.4 compatibility tree: https://github.com/infiniteautomation/modbus4j/tree/master/src_cdc