Args must be applied before MainClass.

Workaround until release is to export JAVA_OPTS