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)
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)