Ref T9 correct mode on service and install java in test