How to install Java in Termux | Java in Termux |
Install java in Termux :-
Hello guys, welcome to our blog today we are going to install Java in Android device using Termux App. All people haven't computers so they are unable to use java but now I am going to tell how to install java in Termux. All of you familiar with java and know that java help us to create Android application etc. Instaling java is very easy you can Install easily without any errr pr problems. Only you have to follow the below steps correctly and you will get java Installed in your Termux.
What is Java?
Java is a programing language which help us to creating some logical project and Android applications. Java is commonly used for computing of desktop , other computing of mobile , games, and numerical computings. In simply words it is a programing language to program a project according with us or our desires. We can design a website using java to make the website looks more and more beautiful.
Is it possible to build Android application using java in Termux?
Yes, of course. Termux Java is same as computer's Java so you can make Android apps using Termux Java. It has same features in which pc has. So you will get completely benefit of Java. In simple words you can use all the Java features in Termux. So Now you will understand if not I can't do anymore to understand 😂.
Lets start :-
Requirements :-
- Termux ( obviously)
- 1 GB space
- Good internet connection
Updating Termux Repository & Packages :-
First of all you need to update termux packages for working correctly. Use the below command to update the repository and packages.
apt update && apt upgrade
pkg update && pkg upgrade
After updating you need to install some tools which help us to installing Java in our Termux app. This tools simply works that to clone the installation script of Java.
apt install wget git curl -y
Installing Java :-
For installing Java you have to do upper steps completely without an error if you have any issue then you can message me on Instagram. My Instagram link is at the end of the blog. If you perform above commands correctly then you can use below command for installing Java.
wget https://raw.githubusercontent.com/MasterDevX/java/master/installjava && bash installjava
Now you have successful installed Java in your Android Device using Termux.
How to check Java is installed or not?
For checking this, you have to use the below command. If you correctly installed Java then you will see the message that Java-version. If Java version is not showing that means that you have miss the step or have an error. Ignoring it just checking by below command.
Java -version
Get the Java version if yes then congratulations dear!! You are genius 😁 go and use Java and show you talent, best of Luck.
How to uninstall Java?
If you want to uninstall Java from your Termux you can simply do it by the below command. Dear If you find any error during installation you can contact me on Instagram. If the reason is something else them you can uninstall by below command.
wget https://raw.githubusercontent.com/MasterDevX/java/master/uninstall_java.sh && uninstall_java.sh
Video Tutorial 👇🏻👇🏻
Also Read :- How to install ADB & Fastboot in Android using Termux.
Thanks for reading!! ❤❤
If you have any problem please comment or dm me.
Please Follow me on Instagram. .
Comments
Post a Comment