TP4 java