MasterDevX / Termux-Java

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

Segmentation fault #16

Closed bcodxs closed 3 years ago

bcodxs commented 4 years ago

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!

┌─[u0_a189@localhost]─[] └──╼ $java Segmentation fault ┌─ [✗]─[u0_a189@localhost]─[] └──╼ $javac Segmentation fault ┌─ [✗]─[u0_a189@localhost]─[] └──╼ $jar Segmentation fault ┌─ [✗]─[u0_a189@localhost]─[] └──╼ $

WeskerSen commented 4 years ago

E

Lumino2003 commented 4 years ago

Aun no los has solucionado?

comicsansgreenki commented 4 years ago

Also getting this issue. Segfaults within 100ms of return key. sigh

themeliskalomoiros commented 3 years ago

So sad to come near the fountain and unable to drink water.

azmaat1 commented 3 years ago

🤣

في الاثنين، ٣٠ نوفمبر ٢٠٢٠ ١:٢٠ ص Themelis Kalomoiros < notifications@github.com> كتب:

So sad to come near the fountain and unable to drink water.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MasterDevX/Termux-Java/issues/16#issuecomment-735466969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRVPP6MMMNKHEWBJR4L7CLSSLCJRANCNFSM4LPAEPGQ .

MasterDevX commented 3 years ago

Closing as duplicate of https://github.com/MasterDevX/Termux-Java/issues/14

TadavomnisT commented 3 years ago

I had the same condition, fixed it by following instructions:

$ pkg install wget -y $ wget https://archive.org/download/openjdk-9-jre-headless_9.2017.8.20-1_x86_64/openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb $ wget https://archive.org/download/openjdk-9-jre-headless_9.2017.8.20-1_x86_64/openjdk-9-jre-headless_9.2017.8.20-1_arm.deb $ apt-get install -y ./openjdk-9-jre-headless_9.2017.8.20-1_arm.deb $ apt-get install -y ./openjdk-9-jdk-headless_9.2017.8.20-1_arm.deb

IDK for sure , but looks like there was some sort of problem with jdk/jre binary installation and some data happened to be missing. Hope it helps