Updated java-update.py to add parameter for license acceptance.