init java code

init java code