Updating Java and Maven environment settings.