MasterDevX / Termux-Java

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

Proccess killed #7

Closed JeelsBoobz closed 3 years ago

JeelsBoobz commented 5 years ago

What happend? @MasterDevX Screenshot_Termux_20190614-203401

MasterDevX commented 5 years ago

Currently I have no idea what causes this..

JeelsBoobz commented 5 years ago

Ok thanks

MasterDevX commented 5 years ago

Try to run Java in Bash environment, not in Zsh.

Bob-vdV commented 5 years ago

I think it has someting to do with LineageOS. I get the same error on my Samsung i9100 with LineageOS, and on my huawei y550 with LineageOS as well. From the looks of it @JeelsBoobz runs LineageOS too, since he has android 9. I would love to test this, but I can't find any android 5+ roms that aren't based on lineage/cm for these devices. @JeelsBoobz Could you try running java on a stock rom to see if that works?

MasterDevX commented 5 years ago

@BomberX02 I use Resurrection Remix, which is a fork of Lineage and I don't have this problem. If it is Lineage related issue then it must be guys from RR have fixed something in their ROM. Maybe I'll flash Lineage too and check Java there.

JeelsBoobz commented 5 years ago

Maybe 😂

JeelsBoobz commented 5 years ago

Tested with another device Redmi Note 4 SD with stock MIUI arm64 Tested with Galaxy S5 ROM LineageOS arm, i have problem Screenshot_2019-07-14-10-54-27-214_com termux

JeelsBoobz commented 5 years ago

Ok, maybe this bug for armv7l only.. Because, tested with samsung device stockrom armv7l proccess killed 😪 I hope for arm can fixed 🤗

pranshuthegamer commented 4 years ago

Yeah this happens to me too now I can't run the bash command I was trying to run nukkit on my Gt 15882

KiberDoktor commented 4 years ago

I confirm, on my Realme 6 Pro there is the same problem.
When you try to start the process, it is killed.

Screenshot_2020-06-23-11-58-52-98_84d3000e3f4017145260f7618db1d683

hyperstown commented 4 years ago

On Xperia Z3 Compact same error. Stock ROM. image

foxes1998 commented 4 years ago

if you have root permission , it may work(worked for me ).

su export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib

then I tested minecraft: image

7Ragnarok7 commented 4 years ago

Try running it in a proot environment.

proot -0
foxes1998 commented 4 years ago

if you have root permission , it may work(worked for me ).

su export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib

then I tested minecraft: image

you can use tsu pkg to instead of change env ( export PATH...) just install it by: pkg install tsu

also can use sudo if you installed tsu, just type tsudo

thiagaoplusplus commented 4 years ago

Using tsu and running java as root worked for me too. I have a Samsung i9100 with LineageOS 14.