MasterDevX / Termux-Java

Install Java (Open-JDK-8) in Termux without root!
378 stars 82 forks source link

It doesn't work, which ld.so should we use? #43

Open sinojelly opened 3 years ago

sinojelly commented 3 years ago

Termux-Java can not work, First the java file linked to a wrong so path.(run file java to show this) Then I fixed it by using: patchelf --set-interpreter /data/data/vn.vhn.vsc/files/share/glib/ld-linux-aarch64.so.1 java But it also complains: Accessing a corrupted shared library. I found that there is a ld.so in Termux-Java/openjdk/lib/, so copy it to replace ld-linux-aarch64.so. Then it complains: Segmentation fault. (I use Huawei MatePad pro, android 10)

Screenshot_20210216_214233