Allow arbitrary java args to be passed

Closes #4