-
-
Save Sanix-Darker/247daa10ab4635f2168b848e8cecb5ac to your computer and use it in GitHub Desktop.
sudo su - | |
cat >/etc/apt/sources.list.d/webupd8team-java.list<< EOF | |
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main | |
EOF | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 | |
apt-get update | |
apt-get install oracle-java8-installer | |
java -version |
Totally was a raw material for me just a waste of time nothing else
so i am branching off with my work with kali into some new things and as a few others have also gotten, i have as well. nothing online seems to fix this.
apt-get install oracle-java8-installer 1 ⨯
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package oracle-java8-installer
i cant alt the java version either as obviously its not installing properly. for what im doing i have to use 1.8. no other version will work for it.
@aadesh2401 and @WiHacker ,
apt-get update
first doesn't help ?
this is what you get:
Hit:1 http://kali.download/kali kali-rolling InRelease
Get:2 https://deb.torproject.org/torproject.org stretch InRelease [3,531 B]
Err:2 https://deb.torproject.org/torproject.org stretch InRelease
The following signatures were invalid: EXPKEYSIG 74A941BA219EC810 deb.torproject.org archive signing key
Hit:3 https://apt.syncthing.net syncthing InRelease
Hit:4 https://packagecloud.io/AtomEditor/atom/any any InRelease
Ign:5 http://ppa.launchpad.net/nginx/stable/ubuntu kinetic InRelease
Err:6 http://ppa.launchpad.net/nginx/stable/ubuntu kinetic Release
404 Not Found [IP: 185.125.190.52 80]
and then everything else in the list:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
@aadesh2401 @wihacker-X1 @sproutecks2125 you might have already solved it by now, but if not, check out this new article https://linuxconfig.org/how-to-install-java-on-kali-linux