Adding java file