
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.
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.
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.
0 Comments
Please do not enter any spam link in the comment box.