Updated gitignore file and java version