had to add some logic to automatically accept the Oracle JDK license