termux-packages/packages/ecj/ecj
Fredrik Fornwall 6501186f2b Fix dalvikvm wrapper
- Just unset LD_LIBRARY_PATH in the dalvikvm wrapper.
- Let the dalvikvm wrapper setup $ANDROID_DATA.
- Avoid using a custom dalvikvm wrapper in dx.
2016-05-05 19:55:13 -04:00

12 lines
316 B
Bash
Executable File

#!/bin/sh
# -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \
-cp @TERMUX_PREFIX@/share/dex/ecj.jar
org.eclipse.jdt.internal.compiler.batch.Main \
-proc:none \
-7 \
-cp @TERMUX_PREFIX@/share/java/android.jar \
$@