API java terminee