code: def __init__(self, resources_dir: str, gcs_aio_client: GcsAioClient):
      self._resources_dir = os.path.join(
          resources_dir, "java_jars_files"
      )
      self._gcs_aio_client = gcs_aio_client
      try_to_create_directory(self._resources_dir)
  
file_path: ray/python/ray/_private/runtime_env/java_jars.py
imports: import logging
  import os
  from typing import Dict, List, Optional
  from ray._private.gcs_utils import GcsAioClient
  from ray._private.runtime_env.context import RuntimeEnvContext
  from ray._private.runtime_env.packaging import delete_package, download_and_unpack_package, get_local_dir_from_uri, is_jar_uri
  from ray._private.runtime_env.plugin import RuntimeEnvPlugin
  from ray._private.utils import get_directory_size_bytes, try_to_create_directory
  from ray.exceptions import RuntimeEnvSetupError
label_desc: Use image node_id 1 to create a new JavaJarsPlugin object from inherited base classes: RuntimeEnvPlugin with example: obj = JavaJarsPlugin(resources_dir, gcs_aio_client)