How to install java 8 on Kali Linux 2020.4 -Linuxndroid



Hii guys welcome back my new post in this post i will show you How to install java 8 on kali linux android also How to install java 8 on debian and also

in this post, i will tell you about how can install java 8 on arm64 devices, we will see how we can install openjdk-8-jre on arm architecture devices

we are going to install openjdk-8-jre in my android mobile here, i have installed Kali linux via termux in my android mobile,

Note the point i am using kali linux rootless, which is easily installed on without rooted android mobile, you can install the openjdk-8-jre package in all arm64 devices with this process.

Step-1

How to install openjdk-8-jre on arm64 devices

First of all, you have to open your Termux, after that you have to login to the root user of Kali Linux or Nethunter machine, so you can type nh -r then Enter.


Step-2

how to download openjdk-8-jre deb package

after coming to Kali machine, you have to download deb file of openjdk-8-jre from ftp.debian website. so make sure see image below.


Step-3

after copying the java 8 link, you have to paste it into the kali linux terminal, so that java 8 deb file start downloading in kali machine, this file size approx 25mb, make sure you complete download.

wget http://ftp.debian.org/debian/pool/main/o/openjdk-8/openjdk-8-jre-headless_8u275-b01-1_arm64.deb


Step-4

ok after downloaded the java 8 file, you will have to install it manually. we will use dpkg to install it manually, using the dpkg, we can install any deb package in our linux machine.

dpkg -i openjdk-8-jre-headless_8u275-b01-1_arm64.deb


Step-5

How to change java version in linux

ok guys now java 8 has successfully installed in your machine, if you want to change and view the java alternetives, then you follow this command.

sudo update-alternatives --config java


Final Step

now you can see in the image below, java 8 is on second number, then you type 2 so that the java version will be changed in your machine.



Conclusion

Ok so today's post i will show you how to install java 8 on kali linux and kali nethunter 2020.4 and also how to install java 8 on debian so i hope you like this post and i will see you in the next post so Thanks and Take Care.


Post a Comment

0 Comments