i am unable to install java.

During java the installation, I am getting following error. I need help with this issue.

1 Answer(s)


Hi Hamza,
Regarding your issue with java installation.
Follow the below steps to do so.
1. command - sudo apt-get update
(if success, move to step-2, if fails please share the error or copied it on txt file and mail us.)
2. sudo apt-get install openjdk-7-jdk

Step-2 is only works when you successfully run the update command.