Java program for client which is needed for ITRC