Termux-Java
Termux-Java copied to clipboard
Cmd java error "Segmentation fault"?
My java is error? Im use arm device,install succesful..
But java cmd not work? Im get " xx Segmentasi fault xx " ?
Maybe this can help you: https://github.com/termux/termux-packages/issues/2129
im cant fix this,,, this reference https://github.com/termux/termux-packages/issues/2129 is diference (i thinks) ,,, any idea again ,,,?
Not sure, gonna make some research tomorrow.
MasterDevX , Can you tell us how to install it manually?
I think I'll write it in ReadMe soon, but this issue is not an installation related problem, it's execution problem, so..
Did you find a solution
Not yet.
Bump.
I have the understanding that, with this same issue, the commands run when called as root (with tsudo prefixed).
I have noticed the Compiler (javac) works - it created Main.class. I might be too noob with Java, but executing a Java file with one method with System.out.println() didn't succeed (cant find the designated Class, regardless how you call it - $ tsudo java Main.java ; $ tsudo java Main ; $ tsudo java Main.class)
Is today known where the error comes from?
Same
Same
I've found that it needs root privileges for this Java. userLand or Ubuntu for XTerm(Need Tunnel) can be an alternative. If you're rootest I can deploy Linux to you.
Can you try to install proot
and execute proot -0
before running Java?
Can you try to install
proot
and executeproot -0
before running Java?
Nope didn't work (also the termux/termux-packages#2129 doesn't help at all)...
YES!! I spent an hour searching for methodes but found no working one and proot -0 only starts the system terminal and I DON'T WANT TO ROOT MY DEVICE! So yes I tried that boy...
MasterDevX [email protected] schrieb am Do., 7. Nov. 2019 07:06:
Can you try to install proot and execute proot -0 before running Java?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MasterDevX/Termux-Java/issues/2?email_source=notifications&email_token=ALPM5Z4R7EACTRAUNDWBPYTQSOV5DA5CNFSM4HTKUYN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDKVGUA#issuecomment-550851408, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPM5Z6Q3WBWSD7ULJ7XK43QSOV5DANCNFSM4HTKUYNQ .
@TudbuT PRoot is not rooting your device..
It is an issue with Android Version! I have seen people using Hax4us' OpenJDK 8 on Android Version 5, I guess, and it worked! On other Android Versions, segmentation fault is common!
Only One Solution is Available - Install Ubuntu(Or Any Other Distribution) Chroot (of course it's PRoot in Termux) and use OpenJDK there.
i had the same problem the script throws a seg fault so i installed these instead
openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb openjdk-9-jre-headless_9.2017.8.20-1_arm.deb
must be on line apt-get install -y ./openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb and the other one . i will let you figure out the rest okay
How exactly do I uninstall it please your directives were not clear on how to do that?