replace java file