code: def __init__(self, model):
      self.model = model
      self.class_name = "Model"
  
      java_home = environ.get("JAVA_HOME")
      assert java_home, "JAVA_HOME is not specified"
      java_home = Path(java_home)
      self._java_bin = java_home / "bin" / "java"
      self._javac_bin = java_home / "bin" / "javac"
  
file_path: m2cgen/tests/e2e/executors/java.py
imports: from os import environ
  from pathlib import Path
  from shutil import copyfile
  from m2cgen import export_to_java
  from tests import utils
  from tests.e2e.executors.base import BaseExecutor
label_desc: Use image node_id 1 to create a new JavaExecutor object from inherited base classes: BaseExecutor with example: obj = JavaExecutor(model)