Pass JVM opts

* Fix bug where options were not being passed to JVM.
* Add `-d64` option.

See commit messages for more detail.