is there any way to install java 1.7 on Kali linux (Raspberry Pi 3). Armitage won't work with Java 1.8. Last week found some article and I started Armitage, but now I cannot find that post I found earlier.

I tried this "update-java-alternatives --jre -s java-1.7.0-openjdk-armhf"


update-java-alternatives: directory does not exist: /usr/lib/jvm/java-1.7.0-openjdk-armhf


When I try "apt-get install openjdk-7-jdk" or "apt-get install oracle-java7-jdk" or something similar I get this response:

root@kali:~# apt-get install openjdk-7-jdkapt-get install openjdk-7-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package openjdk-7-jdk

Please Help!!!