def execute_java_for_targets(self, targets, *args, **kwargs):

    distribution = self.preferred_jvm_distribution_for_targets(targets)
    actual_executor = kwargs.get('executor') or SubprocessExecutor(distribution)
    return self._spawn_and_wait(*args, executor=actual_executor, distribution=distribution, **kwargs)
:param assetstore: The assetstore to act on.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/junit_run.py/JUnitRun.execute_java_for_targets--crossover with--dataset/ETHPy150Open girder/girder/girder/utility/gridfs_assetstore_adapter.py/GridFsAssetstoreAdapter.__init__