finish java