Unable to install java on Ubuntu



0

during installation of java getting following error


5 Answer(s)


0

Thanks for posting this question. I was also facing the same issue and I could not upload the error message file so I came back to post my question. I hope this get resolved soon. 

waiting for a response.


0

Hi Dipendu,

The correct command is:

sudo apt-get install openjdk-8-jdk

Note: Make sure your packages are updates, to ensure run the following command:

$ sudo apt-get update

Hope this helps.

Thanks.


0

Now it is working..

Thanks


0

HI Dipendu,

Thanks for the confirmation.\

 

 


0

THanks. I was able to install Java