use java opts, if provided
Merge pull request #2 from hawknewton/java_opts

use java opts, if provided