Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

file:///E:/ Package 'oracle-java8-installer' has no installation candidate

Asked by Charles Parr Apr 12, 2021 1.1K views 1 answer
Share

About this question

 was trying to install Java 8 using these commands:

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

But it throws an error:

Package oracle-java8-installer 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: Package 'oracle-java8-installer' has no installation candidate

How can I resolve this?

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.