NEED not to perform this much things... simple go and download script run and woooha java updated..
https://cyberghosts.wordpress.com/2016/11/30/update-java-in-kali-linux
:cool: