LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-26-2019, 02:25 PM   #1
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Rep: Reputation: 12
How do I get and install java 11 'stuff' - published internet info doesn't work


This is typical of what I get when trying to install java. I bought JAVA all-in-one for Dummies and the examples in the book are written using Java 9. Can't install it because it is outdated. Below is what happened when I tried Java 11.

I'm totally lost here. Thought I could use Synaptic Pkg Manager for this but I don't know what to install.

Quote:
rick@rick-Latitude-E6510:~$ sudo apt install oracle-java11-set-default
[sudo] password for rick:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java11-set-default 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
However the following packages replace it:
oracle-java12-set-default oracle-java11-set-default-local

E: Package 'oracle-java11-set-default' has no installation candidate
 
Old 06-26-2019, 03:53 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Your question is not actually a programming question but rather a package manager question and as such is more appropriate in the forum for your distro, assumed to be Ubuntu (you should include that information in the question).

Also, did you read the message you posted and try the suggested replacement package? If so, what was the result?
 
Old 06-26-2019, 09:31 PM   #3
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Original Poster
Rep: Reputation: 12
Thanks,

Below is what the suggested link was. Doesn't work. I'll move the question to another forum.

rick@rick-Latitude-E6510:~$ sudo apt install oracle-java11-set-default
[sudo] password for rick:
Reading package lists... Done
Building dependency tree
 
Old 06-27-2019, 01:43 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Duplicate of https://www.linuxquestions.org/quest...rk-4175656468/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This is not dpkg install-info anymore, but GNU install-info (installed macchanger from git on Linux Mint and now I have strange issues) HannemanThrashKing Linux - Newbie 1 07-12-2018 08:50 AM
Ubuntu 8.04 Headphones don't work, the published fix breaks the sound ETecoli Ubuntu 3 05-22-2008 10:48 PM
java: java.util.Hashmap doesn't work for a custom object kpachopoulos Programming 2 04-15-2007 03:25 PM
LXer: Firefox 2 install guide published LXer Syndicated Linux News 0 03-11-2007 05:01 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration