JDK-8 Installation On Kali-Linux Error-Fix:- apk signing failed -kidnapshadow

Hello Lovely People , 

Today Topic Is How To Install JDK-8 On Kali-Linux



Firstly ,  Go On Oracle Website And Dow

nload (x-64 compressed archive ) it approx take 140 mb

Althrough , you follow my link :- https://www.oracle.com/java/technologies/downloads/#java8


After downloading , Open Terminal  and copy my command              

1. java  --version    (to check version of java )


If java is not install in kali linux thus, you need to create a folder in file system.

2. cd  /usr/lib/jvm  (you create a folder when lib or jvm not show .


3. to create a folder in kali  

command:-  mkdir <foldername>

   example:-  mkdir lib

4. after  you come in jvm folder 

type:-  tar -xvzf  <path of jdm software download and with software name>

in my case it is in download folder


ex-  tar -xvzf ~/Download/jdk-18.0.8  and press enter 

all file extract automatically

5. type:-- ls  (to see folder create or not )

6. after folder create cd <foldername >  press enter

7. copy path of folder 📁 with include extract folder

8. to see folder path type:- pwd


9. then type:- gedit /etc/environment and set path <paste path copy in step 7 >

ex:-    gedit /etc/environment and set path /usr/lib/jvm/jdk1.8.0/



10.  next , 

       type:- update-alternatives --install "usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0/bin/java/" 0


press enter 

11.  next , type :-update-alternatives --install "usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0/bin/javac/" 0


press enter 

12. update-alternatives --set java /usr/lib/jvm/jdk1.8.0/bin/java    pess enter


13.  update-alternatives --set java /usr/lib/jvm/jdk1.8.0/bin/javac    pess enter


14. update-alternatives --config java  press enter 


then select 2 press enter

15. then check java version to check java version in 8.1.0 is

java  -version


     Thankyou for reading . if it is valuable please comment and subscribe my youtube channels to get more hacking tips and tricks . 

channel link :- https://youtube.com/channel/UCpLuQFT-R3zA_bLiGP94YdA

                                      ---kidnapshadow(sidharth) 

Post a Comment

Post a Comment (0)

Previous Post Next Post