MasterDevX / Termux-Java

Install Java (Open-JDK-8) in Termux without root!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitpod Ready-to-Code

Termux Java

Information

This script will install Java in Termux.

Libraries compiled by Hax4us, scripts written by Hax4us, MasterDevX and Guzio, with some very, very tiny help from Harshiv-Patel.

How to use

To install Java, open Termux and execute the following command:

pkg install wget && wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava

Eventually, run wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava to install Java if you arleady have wget installed.

Or just bash installjava if you have the script arleady downloaded for some reason.

When installed, run java -version to check, if it's correcty installed (i.e. if it throws command not found error, it's clearly not.)

After that you can run Java using java command.

We also provide an uninstaller, but since I'm writing this while making that script, there's no way I can attach a command here, as I need a link for that. Anyway, look for uninstall_java.sh in repo's home.

About

Install Java (Open-JDK-8) in Termux without root!


Languages

Language:Shell 100.0%