Coder Social home page Coder Social logo

Comments (18)

MasterDevX avatar MasterDevX commented on July 23, 2024 2

Maybe this can help you:
termux/termux-packages#2129

from termux-java.

Biangkerok32 avatar Biangkerok32 commented on July 23, 2024

im cant fix this,,,
this reference termux/termux-packages#2129 is diference (i thinks) ,,,
any idea again ,,,?

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Not sure, gonna make some research tomorrow.

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

MasterDevX , Can you tell us how to install it manually?

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

I think I'll write it in ReadMe soon, but this issue is not an installation related problem, it's execution problem, so..

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

Did you find a solution

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Not yet.

from termux-java.

zalgonoise avatar zalgonoise commented on July 23, 2024

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)

Screenshot_20190809-015457_Termux

from termux-java.

JanisPlayer avatar JanisPlayer commented on July 23, 2024

Is today known where the error comes from?

from termux-java.

TudbuT avatar TudbuT commented on July 23, 2024

Same

from termux-java.

JanisPlayer avatar JanisPlayer commented on July 23, 2024

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.

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Can you try to install proot and execute proot -0 before running Java?

from termux-java.

TudbuT avatar TudbuT commented on July 23, 2024

Can you try to install proot and execute proot -0 before running Java?

Nope didn't work (also the termux/termux-packages#2129 doesn't help at all)...

from termux-java.

TudbuT avatar TudbuT commented on July 23, 2024

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

@TudbuT PRoot is not rooting your device..

from termux-java.

 avatar commented on July 23, 2024

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.

from termux-java.

commander-cb avatar commander-cb commented on July 23, 2024

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

from termux-java.

Jaytixx avatar Jaytixx commented on July 23, 2024

How exactly do I uninstall it please your directives were not clear on how to do that?

from termux-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.