Honor JAVA_OPTS when running server.
Merge pull request #1 from mdx-dev/feature/java_opts

Honor JAVA_OPTS when running server.