MasterDevX / Termux-Java

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

"Bad system call" #39

Open SirZok opened 3 years ago

SirZok commented 3 years ago

Installation succeeds, though on executing java (e.g. java -version) the process returns the message "Bad system call"

kcubeterm commented 3 years ago

Try under termux-chroot. pkg in proot then execute termux-chroot and then run java

Sachin146 commented 3 years ago

How to run i mean which command to use run java and also to stop

ElCattivo13 commented 3 years ago

Try under termux-chroot. pkg in proot then execute termux-chroot and then run java

@kcubeterm thx, that worked for me!

Could you shortly explain what the problem is and what termux-chroot does and why it works? Thanks a lot!

timwm commented 3 years ago

@ElCattivo13 simply put it just proots you into a *nix-like file hierarchy you can try: vim -R `which termux-chroot` and examine what it does.

Azhar-alt commented 2 years ago

It's really working thanks bro

PatoFlamejanteTV commented 1 day ago

Try under termux-chroot. pkg in proot then execute termux-chroot and then run java

Returned this error for me:

~/jadx $ termux-chroot
Starting fallback run of termux bootstrap second stage
bash: /data/data/com.termux/files/usr/etc/termux/bootstrap/termux-bootstrap-second-stage.sh: Permission denied