11 lines
429 B
Bash
Executable File
11 lines
429 B
Bash
Executable File
#!/system/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
|
|
|
|
jarpath=@TERMUX_PREFIX@/share/dex/ecj.jar
|
|
# -proc:none to disable annotation processing/compiling
|
|
# -7 for java 1.7 compatibility
|
|
dalvikvm -Xmx256m -cp $jarpath org.eclipse.jdt.internal.compiler.batch.Main -proc:none -7 -cp @TERMUX_PREFIX@/share/java/android.jar $@
|