Mercury4 Connection Program Java