mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
set BOOTCLASSPATH environment variable
Required on at least Android 5. Otherwise utilities that use dalvikvm may fail. Issue happens on Nexus 7 with official 5.0/5.1 firmware and possibly other AOSP ROMs.
This commit is contained in:
committed by
Fredrik Fornwall
parent
81b5889a26
commit
5fa4f2647b
@@ -103,6 +103,7 @@ public final class BackgroundJob {
|
||||
environment.add("TERM=xterm-256color");
|
||||
environment.add("HOME=" + TermuxService.HOME_PATH);
|
||||
environment.add("PREFIX=" + TermuxService.PREFIX_PATH);
|
||||
environment.add("BOOTCLASSPATH" + System.getenv("BOOTCLASSPATH"));
|
||||
environment.add("ANDROID_ROOT=" + System.getenv("ANDROID_ROOT"));
|
||||
environment.add("ANDROID_DATA=" + System.getenv("ANDROID_DATA"));
|
||||
// EXTERNAL_STORAGE is needed for /system/bin/am to work on at least
|
||||
|
Reference in New Issue
Block a user