Minor update to java file.

Signed-off-by: Luke GJ Potter <lukegjpotter@gmail.com>
Adding echo statements to the generation script, to inform the user what's going on.

Signed-off-by: Luke GJ Potter <lukegjpotter@gmail.com>