Fix errors in separate jvm executor.