Fix errors in separate jvm executor.
Merge pull request #51 from axel22/master

Fix errors in separate jvm executor.