Fixing java file add error