add some java code to project