termux-packages/packages/termux-tools/dalvikvm
2020-07-26 14:08:52 +03:00

9 lines
271 B
Bash
Executable File

#!/bin/sh
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
mkdir -p $ANDROID_DATA/dalvik-cache
unset LD_LIBRARY_PATH LD_PRELOAD
exec /system/bin/dalvikvm -Xusejit:true -Djava.io.tmpdir=@TERMUX_PREFIX@/tmp "$@"