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?










share|improve this question


















  • 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















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?










share|improve this question


















  • 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













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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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














  • 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








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










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.






share|improve this answer










New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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
    Nov 28 at 19:52













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























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.






share|improve this answer










New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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
    Nov 28 at 19:52

















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.






share|improve this answer










New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • 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
    Nov 28 at 19:52















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.






share|improve this answer










New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









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.







share|improve this answer










New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited Nov 25 at 19:08





















New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Nov 25 at 18:42









caspinos

1212




1212




New contributor




caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






caspinos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 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
    Nov 28 at 19:52




















  • 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
    Nov 28 at 19:52


















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
Nov 28 at 19:52






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
Nov 28 at 19:52




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido