install java 8 / openjdk8 on kali linux 2020.04 ( debian )

Описание к видео install java 8 / openjdk8 on kali linux 2020.04 ( debian )

Please note the information contained within this video is for educational and entertainment purposes only.
By viewing this video, the viewer agrees that under no circumstances are we responsible for any losses, direct or indirect, which are incurred as a result of the use of information contained within this video.


Hello guys, Download java 8 or openjdk 8...
then extract that file....
rename that folder... ( my folder name jdk-8)
move that folder here /usr/lib/jvm/ ( java folder path )
then create java alternative version... type this commands..

sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-8/bin/java 1

sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-8/bin/javac 1

sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-8/bin/jar 1


*plz note : my folder name jdk-8 , change your java folder name /usr/lib/jvm/{here}/
loader.jar is java8 testing file ( burp suite software )

then switch your java version ... sudo update-alternatives --config java

=================================================================

plan A (java 8)

https://www.oracle.com/java/technolog...


Download java 8
extract

rename ( java-8 )



sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-8/bin/java 1

sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-8/bin/javac 1

sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-8/bin/jar 1



sudo update-alternatives --config java


======================================

plan B (openjdk8)


https://jdk.java.net/java-se-ri/8-MR3


sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/openjdk-8/bin/java 1

sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/openjdk-8/bin/javac 1

sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/openjdk-8/bin/jar 1



sudo update-alternatives --config java

Комментарии

Информация по комментариям в разработке