erro rwhile downloading jdk on putty


3 Answer(s)


Just try sudo apt-get install openjdk-7-jdk


If that doesn't work try doing this steps: 

https://askubuntu.com/questions/796302/cant-able-to-install-openjdk-7-jdk-and-openjdk-7-jre


Hi Pranjaly,

If you have Ubuntu OS 15+, use the following command:

$ sudo apt-get install openjdk-8-jdk

and If you are using Ubuntu OS 14 or lesser:

$ sudo apt-get install openjdk-7-jdk

Hope this helps.

Thanks.