problem with installation of Java JDK 11
Multi tool use
up vote
0
down vote
favorite
sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openjdk-11-jdk : Depends: openjdk-11-jre (= 11~24-1~18.04)
Depends: openjdk-11-jdk-headless (= 11~24-1~18.04)
openjdk-11-jre-headless : Conflicts: oracle-java11-installer but 11.0.1-2~linuxuprising1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Please help how to resolve
java openjdk
add a comment |
up vote
0
down vote
favorite
sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openjdk-11-jdk : Depends: openjdk-11-jre (= 11~24-1~18.04)
Depends: openjdk-11-jdk-headless (= 11~24-1~18.04)
openjdk-11-jre-headless : Conflicts: oracle-java11-installer but 11.0.1-2~linuxuprising1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Please help how to resolve
java openjdk
Have you triedapt --fix-broken install
as advised?
– Mr Shunz
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openjdk-11-jdk : Depends: openjdk-11-jre (= 11~24-1~18.04)
Depends: openjdk-11-jdk-headless (= 11~24-1~18.04)
openjdk-11-jre-headless : Conflicts: oracle-java11-installer but 11.0.1-2~linuxuprising1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Please help how to resolve
java openjdk
sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openjdk-11-jdk : Depends: openjdk-11-jre (= 11~24-1~18.04)
Depends: openjdk-11-jdk-headless (= 11~24-1~18.04)
openjdk-11-jre-headless : Conflicts: oracle-java11-installer but 11.0.1-2~linuxuprising1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Please help how to resolve
java openjdk
java openjdk
edited Nov 29 at 9:54
Mr Shunz
2,2091922
2,2091922
asked Nov 29 at 9:48
Ervin Smajic
1
1
Have you triedapt --fix-broken install
as advised?
– Mr Shunz
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56
add a comment |
Have you triedapt --fix-broken install
as advised?
– Mr Shunz
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56
Have you tried
apt --fix-broken install
as advised?– Mr Shunz
Nov 29 at 9:55
Have you tried
apt --fix-broken install
as advised?– Mr Shunz
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Please can you try and see which jdk will install with this:
sudo apt install default-jre
If you don't like the version don't install it. The last time I test it It was build of java 10.0.2 but it was compatible with java 11 (I dont remeber clearly). Nevertheless in the future it will be changes to java 11.
Check here for more info: Why is OpenJDK 10 packaged as openjdk-11-*?
New contributor
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Please can you try and see which jdk will install with this:
sudo apt install default-jre
If you don't like the version don't install it. The last time I test it It was build of java 10.0.2 but it was compatible with java 11 (I dont remeber clearly). Nevertheless in the future it will be changes to java 11.
Check here for more info: Why is OpenJDK 10 packaged as openjdk-11-*?
New contributor
add a comment |
up vote
0
down vote
Please can you try and see which jdk will install with this:
sudo apt install default-jre
If you don't like the version don't install it. The last time I test it It was build of java 10.0.2 but it was compatible with java 11 (I dont remeber clearly). Nevertheless in the future it will be changes to java 11.
Check here for more info: Why is OpenJDK 10 packaged as openjdk-11-*?
New contributor
add a comment |
up vote
0
down vote
up vote
0
down vote
Please can you try and see which jdk will install with this:
sudo apt install default-jre
If you don't like the version don't install it. The last time I test it It was build of java 10.0.2 but it was compatible with java 11 (I dont remeber clearly). Nevertheless in the future it will be changes to java 11.
Check here for more info: Why is OpenJDK 10 packaged as openjdk-11-*?
New contributor
Please can you try and see which jdk will install with this:
sudo apt install default-jre
If you don't like the version don't install it. The last time I test it It was build of java 10.0.2 but it was compatible with java 11 (I dont remeber clearly). Nevertheless in the future it will be changes to java 11.
Check here for more info: Why is OpenJDK 10 packaged as openjdk-11-*?
New contributor
New contributor
answered Dec 3 at 8:23
Pulszar
1011
1011
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097063%2fproblem-with-installation-of-java-jdk-11%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
z Ek9,vVFsQ,3,99oc9Zg7edWy8aatNfRwebW7DvQRl9 y,Y TU5A3,MPqGy,yzOvluHbGo8RuUEZf,DFdFHN,IfQVP
Have you tried
apt --fix-broken install
as advised?– Mr Shunz
Nov 29 at 9:55
You cannot install oracle Java and openjdk at the same time as for now.
– Alvin Liang
Nov 29 at 9:55
bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1782630
– Alvin Liang
Nov 29 at 9:56