1diff -ru origsource/tabula/io.py source/tabula/io.py
2--- origsource/tabula/io.py 2022-11-23 17:19:35.419837514 +0100
3+++ source/tabula/io.py 2022-11-23 17:22:08.204194807 +0100
4@@ -79,7 +79,7 @@
5 )
6 )
7
8- args = ["java"] + java_options + ["-jar", _jar_path()] + options.build_option_list()
9+ args = ["@JAVA@"] + java_options + ["-jar", _jar_path()] + options.build_option_list()
10 if path:
11 args.append(path)
12
13diff -ru origsource/tabula/util.py source/tabula/util.py
14--- origsource/tabula/util.py 2022-11-23 17:19:35.422837521 +0100
15+++ source/tabula/util.py 2022-11-23 17:21:41.514132392 +0100
16@@ -26,7 +26,7 @@
17
18 try:
19 res = subprocess.check_output(
20- ["java", "-version"], stderr=subprocess.STDOUT
21+ ["@JAVA@", "-version"], stderr=subprocess.STDOUT
22 ).decode()
23
24 except FileNotFoundError:
25diff -ru origsource/tests/test_read_pdf_table.py source/tests/test_read_pdf_table.py
26--- origsource/tests/test_read_pdf_table.py 2022-11-23 17:19:35.422837521 +0100
27+++ source/tests/test_read_pdf_table.py 2022-11-23 17:21:22.008086776 +0100
28@@ -281,7 +281,7 @@
29
30 tabula.read_pdf(self.pdf_path, encoding="utf-8")
31
32- target_args = ["java"]
33+ target_args = ["@JAVA@"]
34 if platform.system() == "Darwin":
35 target_args += ["-Djava.awt.headless=true"]
36 target_args += [
37@@ -355,7 +355,7 @@
38
39 tabula.read_pdf(self.pdf_path, encoding="utf-8", silent=False)
40
41- target_args = ["java"]
42+ target_args = ["@JAVA@"]
43 if platform.system() == "Darwin":
44 target_args += ["-Djava.awt.headless=true"]
45 target_args += [
46@@ -382,7 +382,7 @@
47
48 tabula.read_pdf(self.pdf_path, encoding="utf-8", silent=True)
49
50- target_args = ["java"]
51+ target_args = ["@JAVA@"]
52 if platform.system() == "Darwin":
53 target_args += ["-Djava.awt.headless=true"]
54 target_args += [