fix java to show error when compile error

--HG--
branch : algo
last commit is a dud...fixing it now.

--HG--
branch : algo