mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 01:50:33 +00:00
f1cc076b27
Otherwise it will work properly if package openjdk-17 is installed. Issue https://github.com/termux/termux-packages/issues/7233
15 lines
393 B
Bash
Executable File
15 lines
393 B
Bash
Executable File
#!/bin/sh
|
|
|
|
unset JAVA_HOME
|
|
|
|
# -proc:none to disable annotation processing.
|
|
# -7 for java 1.7 compatibility.
|
|
dalvikvm -Xmx256m \
|
|
-Xcompiler-option --compiler-filter=speed \
|
|
-cp @TERMUX_PREFIX@/share/dex/ecj.jar \
|
|
org.eclipse.jdt.internal.compiler.batch.Main \
|
|
-proc:none \
|
|
-7 \
|
|
-cp @TERMUX_PREFIX@/share/java/android-24.jar \
|
|
"$@"
|