force Oracle java 10 not java 11
up vote
0
down vote
favorite
the linux uprising ppa is currently forcing version 11 of java on us.
sudo add-apt-repository ppa:linuxuprising/java
that's nice I like modern and being up to speed, but I have an app that'll only run with java 10.
webUpD8 stopped after 9 and linux uprising started at 10 and that worked (apparently..., I personally never got to test it) until they released 11 and now when you type :
sudo apt install oracle-java10-installer
you get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java10-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-java10-installer' has no installation candidate
only typing :
sudo apt install oracle-java11-installer
will work. that's the package that's being referenced above.
clearly something was done that was a little sloppy :
what are my options?
18.04 java oracle
add a comment |
up vote
0
down vote
favorite
the linux uprising ppa is currently forcing version 11 of java on us.
sudo add-apt-repository ppa:linuxuprising/java
that's nice I like modern and being up to speed, but I have an app that'll only run with java 10.
webUpD8 stopped after 9 and linux uprising started at 10 and that worked (apparently..., I personally never got to test it) until they released 11 and now when you type :
sudo apt install oracle-java10-installer
you get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java10-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-java10-installer' has no installation candidate
only typing :
sudo apt install oracle-java11-installer
will work. that's the package that's being referenced above.
clearly something was done that was a little sloppy :
what are my options?
18.04 java oracle
2
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
i tried runningsudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?
– tatsu
Nov 25 at 15:54
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
the linux uprising ppa is currently forcing version 11 of java on us.
sudo add-apt-repository ppa:linuxuprising/java
that's nice I like modern and being up to speed, but I have an app that'll only run with java 10.
webUpD8 stopped after 9 and linux uprising started at 10 and that worked (apparently..., I personally never got to test it) until they released 11 and now when you type :
sudo apt install oracle-java10-installer
you get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java10-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-java10-installer' has no installation candidate
only typing :
sudo apt install oracle-java11-installer
will work. that's the package that's being referenced above.
clearly something was done that was a little sloppy :
what are my options?
18.04 java oracle
the linux uprising ppa is currently forcing version 11 of java on us.
sudo add-apt-repository ppa:linuxuprising/java
that's nice I like modern and being up to speed, but I have an app that'll only run with java 10.
webUpD8 stopped after 9 and linux uprising started at 10 and that worked (apparently..., I personally never got to test it) until they released 11 and now when you type :
sudo apt install oracle-java10-installer
you get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java10-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-java10-installer' has no installation candidate
only typing :
sudo apt install oracle-java11-installer
will work. that's the package that's being referenced above.
clearly something was done that was a little sloppy :
what are my options?
18.04 java oracle
18.04 java oracle
asked Nov 25 at 13:34
tatsu
79326
79326
2
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
i tried runningsudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?
– tatsu
Nov 25 at 15:54
add a comment |
2
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
i tried runningsudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?
– tatsu
Nov 25 at 15:54
2
2
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
i tried running
sudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?– tatsu
Nov 25 at 15:54
i tried running
sudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?– tatsu
Nov 25 at 15:54
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
EDIT: If you have successfully installed openjdk-10-jdk package, than You just need to switch default jdk version using 'update-java-alternatives' command (as described here).
You could manually install openjdk (instead of using apt).
For example, openjdk 10 is available to download at jdk.java.net or adoptopenjdk.net.
Installation instructions are available at docs.oracle.com.
New contributor
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
EDIT: If you have successfully installed openjdk-10-jdk package, than You just need to switch default jdk version using 'update-java-alternatives' command (as described here).
You could manually install openjdk (instead of using apt).
For example, openjdk 10 is available to download at jdk.java.net or adoptopenjdk.net.
Installation instructions are available at docs.oracle.com.
New contributor
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
add a comment |
up vote
1
down vote
accepted
EDIT: If you have successfully installed openjdk-10-jdk package, than You just need to switch default jdk version using 'update-java-alternatives' command (as described here).
You could manually install openjdk (instead of using apt).
For example, openjdk 10 is available to download at jdk.java.net or adoptopenjdk.net.
Installation instructions are available at docs.oracle.com.
New contributor
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
EDIT: If you have successfully installed openjdk-10-jdk package, than You just need to switch default jdk version using 'update-java-alternatives' command (as described here).
You could manually install openjdk (instead of using apt).
For example, openjdk 10 is available to download at jdk.java.net or adoptopenjdk.net.
Installation instructions are available at docs.oracle.com.
New contributor
EDIT: If you have successfully installed openjdk-10-jdk package, than You just need to switch default jdk version using 'update-java-alternatives' command (as described here).
You could manually install openjdk (instead of using apt).
For example, openjdk 10 is available to download at jdk.java.net or adoptopenjdk.net.
Installation instructions are available at docs.oracle.com.
New contributor
edited Nov 25 at 19:08
New contributor
answered Nov 25 at 18:42
caspinos
1212
1212
New contributor
New contributor
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
add a comment |
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
thanks that worked to get java 10! I ended using this guide instead (but with your link to the tarball) : javahelps.com/2017/09/install-oracle-jdk-9-on-linux.html
– tatsu
yesterday
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%2f1095910%2fforce-oracle-java-10-not-java-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
2
Java 10 is no longer supported. It reached EOL the moment when 11 was released in September 2018. That is why it is no longer really available and why you should not be using it anyway. Java 11 is supposed to be fully backwards-compatible, I believe, so anything running under 10 should work just fine with 11. See the table on oracle.com/technetwork/java/eol-135779.html for reference about the EOL dates.
– Byte Commander
Nov 25 at 14:17
i tried running
sudo apt install openjdk-10-jdk
but even that defaulted to installing oracle jdk 11. is there really no trick I can pull?– tatsu
Nov 25 at 15:54