Coder Social home page Coder Social logo

Java not installing about termux-java HOT 13 CLOSED

masterdevx avatar masterdevx commented on July 23, 2024
Java not installing

from termux-java.

Comments (13)

Biangkerok32 avatar Biangkerok32 commented on July 23, 2024 2

I think need new comit, url https://github.com/Hax4us/java/releases/download/v8/jdk8_arm.tar.gz is not found

real path is https://github.com/Hax4us/java/releases/download/v8-151/jdk8_arm.tar.gz

i hope,you can fix "installjava"

Cheers,

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024 2

Already fixed, try it out.

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Okay, the first error comes up when downloading tarball.
Try to open 'installjava' script using nano or any other editor you want and remove '-q' from line 30, then save it, run, and send a screenshot, so we can find out where wget fails.

Hovewer, the error might be just caused because of wget was not properly installed, so before doing all the things I described above, try to simply uninstall wget by running 'pkg uninstall wget', then sync repositories using 'apt update' and install wget once again - 'pkg install wget'.

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

I typed "nano installjava" but I get only black screen there is no something written

And I did "pkg uninstall wget" and "pkg install wget" before it

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

Hello? Can you help me please??

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

Can I install it manually ? And how??

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

Uploading Screenshot_٢٠١٩٠٦١٠-٢٢١٤٣٢.jpg…

sir I did what u said and removed -q now this is the screenshot

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

This is what appears to me :

nano installjava
$ bash installjava

This script will install Java in Termux.
Libraries compiled by Hax4us, script written by Hax4us and MasterDevX.

[*] Downloading JDK-8 (~70Mb) for arm...
--2019-06-10 22:14:07-- https://github.com/Hax4us/java/releases/download/v8/jdk8_arm.tar.gz
Resolving github.com... 140.82.118.4
Connecting to github.com|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-06-10 22:14:08 ERROR 404: Not Found.

[] Moving JDK to system...
mv: cannot stat 'jdk8_arm.tar.gz': No such file or directory
[
] Extracting JDK...
tar: jdk8_arm.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[] Moving Java wrapper scripts to bin...
mv: cannot stat 'bin/
': No such file or directory
[*] Cleaning up temporary files...

Java was successfully installed!

$

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Hmm, looks like download URL changed a little bit, I'll try to fix it now.
P.S. Sorry for late reply, I was busy these days, so I was away from GitHub..

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Just pushed two new commits, which should fix the issue. Try installing now.

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

Ok the problem is solved but this new problem apears to me:

This script will install Java in Termux.
Libraries compiled by Hax4us, script written by Hax4us and MasterDevX.

[] Downloading JDK-8 (~70Mb) for arm...
[
] Moving JDK to system...
[] Extracting JDK...
[
] Moving Java wrapper scripts to bin...
[*] Cleaning up temporary files...

Java was successfully installed!

$ java
Segmentation fault
$

Please don't be late in the answer and thank you.

from termux-java.

OmarAmer12 avatar OmarAmer12 commented on July 23, 2024

My phone is Galaxy J7 prime 2 , and Android : 7.1.1

And my phone is rooted

from termux-java.

MasterDevX avatar MasterDevX commented on July 23, 2024

Redirecting to #2

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.