code: def merge_java_mf_jar(json_file, out_manifest, jar_file):
      try:
          temp_dir = tempfile.mkdtemp()
          try:
              with zipfile.ZipFile(jar_file, "r") as jar:
                  jar.extract(
                      os.path.join("META-INF", "MANIFEST.MF"),
                      path=temp_dir,
                  )
          except KeyError:
              pass
  
          merge_java_mf_dir(json_file, out_manifest, temp_dir)
      finally:
          shutil.rmtree(temp_dir)
  
imports: import base64
  import json
  import os
  import re
  import sys
  import shutil
  import tempfile
  import textwrap
  import zipfile
label_desc: Use image node_id 5 for calling a global function with example usage: merge_java_mf_jar(json_file, out_manifest, jar_file) without return types