termux / proot

An chroot-like implementation using ptrace.
https://wiki.termux.com/wiki/PRoot
Other
745 stars 161 forks source link

Proot Java error #236

Closed yash2120s closed 2 years ago

yash2120s commented 2 years ago

Sir please help me when i run termux-chroot then it comes - And after I run java or apktool so this comes - proot info: vpid 1: terminated with signal 4 proot error: '/data/data/com.termux/files/usr/share/jdk8/bin/java' is a 64-bit program whereas this version of proot handles 32-bit programs only please help me how to solve it

ghost commented 2 years ago

It appears to load java 64-bit binary but your proot installation is 32-bit or something else, although your issue lacks of information (missing termux-info output), however based on your error it executes java version 8 while we have java 17 in our packages. please install openjdk via pkg install openjdk-17.

we also have apktool and can be installed via pkg install apktool.