move all java to trc-common