Factored out _setup_java_capture
Factored out _setup_java_capture


Former-commit-id: 2707cd0dcba5c280f9c2b59cf534f392473f9776 [formerly 41c5f019749fc3c77385882ae1086b70153d2359] [formerly 41c5f019749fc3c77385882ae1086b70153d2359 [formerly ca7b197b0884f896caff67288013fad08c3473ec]]
Former-commit-id: 57afd92aea7589554bb455ac4c15ccfa33e6cad8
Former-commit-id: c7142e705c194dfd6f2ea2f149a4e8b28a618346
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine