termux-packages/packages/jack/jack.sh
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

11 lines
316 B
Bash
Executable File

#!/bin/sh
exec dalvikvm -Xmx256m \
-Djava.io.tmpdir=@TERMUX_PREFIX@/tmp \
-cp @TERMUX_PREFIX@/share/dex/jack.jar com.android.jack.Main \
-cp @TERMUX_PREFIX@/share/jack/android.jack \
-D jack.library.digest.algo=MD5 -D sched.vfs.case-insensitive.algo=MD5 \
-D jack.annotation-processor=off \
--output-dex=`pwd` \
$@