Skip to content

MasterDevX/Termux-Java

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 23 commits ahead, 5 commits behind Hax4us:master.
Contribute

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!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%