TRS java-port