Java init Commit