|
6 | 6 |
|
7 | 7 | This script will install Java in Termux.
|
8 | 8 |
|
9 | | -Libraries compiled by [Hax4us](https://github.com/Hax4us "Hax4us's GitPod profile"), script written by [Hax4us](https://github.com/Hax4us "Hax4us's GitPod profile") and [MasterDevX](https://github.com/MasterDevX "MasterDevX's GitPod profile"). |
| 9 | +Libraries compiled by [Hax4us](https://github.com/Hax4us "Hax4us's GitHub profile"), scripts written by [Hax4us](https://github.com/Hax4us "Hax4us's GitHub profile"), [MasterDevX](https://github.com/MasterDevX "MasterDevX's GitHub profile") and [Guzio](https://github.com/GuzioMG"Guzio's GitHub profile"), with some *very, very tiny* help from [Harshiv-Patel](https://Harshiv-Patel"he changed like... one thing"). |
10 | 10 |
|
11 | 11 | ### How to use
|
12 | 12 |
|
13 | 13 | To install Java, open Termux and execute the following command:
|
14 | 14 |
|
15 | 15 | ```pkg install wget && wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava```
|
16 | 16 |
|
| 17 | +> Eventually, run ```wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava``` to install Java if you arleady have ```wget``` installed. |
| 18 | + |
| 19 | +> Or just ```bash installjava``` if you have the script arleady downloaded for some reason. |
| 20 | + |
| 21 | +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.) |
| 22 | + |
17 | 23 | After that you can run Java using ```java``` command.
|
| 24 | + |
| 25 | +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. |
0 commit comments