Script to update Java and Elasticsearch on server