Also posted at: https://stackoverflow.com/questions/47976585/reading-serial-port-in-java-for-rj45-terminal