OpenJDK 8 or 9? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)No java command after installing JDKupdate-java-alternatives vs update-alternatives --config javaWhy new project is not opening in Netbeans in ubuntu 16.04?How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?Installing OpenJDK on (chr)Lubuntu 14.04 on Acer C710Can't install anything via apt-get - openjdk errorsTrying To Install Java 8.. Unable to locate package openjdk-8-jreHow to install OpenJDK 8 on 15.10?How can I install OpenJDK on Ubuntu 16.04?
Why weren't discrete x86 CPUs ever used in game hardware?
Is it fair for a professor to grade us on the possession of past papers?
Significance of Cersei's obsession with elephants?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Does the Weapon Master feat grant you a fighting style?
Did Deadpool rescue all of the X-Force?
What does it mean that physics no longer uses mechanical models to describe phenomena?
The code below, is it ill-formed NDR or is it well formed?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Performance gap between vector<bool> and array
Why wasn't DOSKEY integrated with COMMAND.COM?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Question about debouncing - delay of state change
How come Sam didn't become Lord of Horn Hill?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Trademark violation for app?
What was the first language to use conditional keywords?
Most bit efficient text communication method?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
How to install press fit bottom bracket into new frame
Should I use a zero-interest credit card for a large one-time purchase?
Project Euler #1 in C++
Can anything be seen from the center of the Boötes void? How dark would it be?
Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?
OpenJDK 8 or 9?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)No java command after installing JDKupdate-java-alternatives vs update-alternatives --config javaWhy new project is not opening in Netbeans in ubuntu 16.04?How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?Installing OpenJDK on (chr)Lubuntu 14.04 on Acer C710Can't install anything via apt-get - openjdk errorsTrying To Install Java 8.. Unable to locate package openjdk-8-jreHow to install OpenJDK 8 on 15.10?How can I install OpenJDK on Ubuntu 16.04?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
After issuing apt-cache search jdk
, I see both openjdk-8-jdk
and openjdk-9-jdk
listed. I am unsure which one I should install.
I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
software-installation
add a comment |
After issuing apt-cache search jdk
, I see both openjdk-8-jdk
and openjdk-9-jdk
listed. I am unsure which one I should install.
I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
software-installation
add a comment |
After issuing apt-cache search jdk
, I see both openjdk-8-jdk
and openjdk-9-jdk
listed. I am unsure which one I should install.
I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
software-installation
After issuing apt-cache search jdk
, I see both openjdk-8-jdk
and openjdk-9-jdk
listed. I am unsure which one I should install.
I took a look at SDK downloads from Oracle's website below, and I wasn't able to immediately find SDK 9. Why would this be the case?
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
software-installation
software-installation
asked Mar 25 '17 at 7:46
flow2kflow2k
11814
11814
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.
Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives
(which is installed by default in Ubuntu) or update-java-alternatives
(which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.
add a comment |
Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.
Edit:
It has been officially released on 2017 Sep.
add a comment |
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',
autoActivateHeartbeat: false,
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
);
);
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%2f896682%2fopenjdk-8-or-9%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.
Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives
(which is installed by default in Ubuntu) or update-java-alternatives
(which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.
add a comment |
If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.
Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives
(which is installed by default in Ubuntu) or update-java-alternatives
(which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.
add a comment |
If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.
Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives
(which is installed by default in Ubuntu) or update-java-alternatives
(which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.
If you are planning to install NetBeans then install openjdk-8-jdk because openjdk-9-jdk is not compatible with NetBeans from the default Ubuntu repositories, at least it is not compatible with NetBeans in Ubuntu 16.04. NetBeans from the default Ubuntu 18.04 and later repositories, is compatible with openjdk-11-jdk.
Another alternative is to install both openjdk-8-jdk and openjdk-9-jdk and use either update-alternatives
(which is installed by default in Ubuntu) or update-java-alternatives
(which is installed when openjdk-8-jdk is installed) to manually choose which Java to use before running an application. See update-java-alternatives vs update-alternatives --config java.
edited 19 mins ago
answered Mar 25 '17 at 7:50
karelkarel
61.1k13132155
61.1k13132155
add a comment |
add a comment |
Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.
Edit:
It has been officially released on 2017 Sep.
add a comment |
Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.
Edit:
It has been officially released on 2017 Sep.
add a comment |
Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.
Edit:
It has been officially released on 2017 Sep.
Java 9 is still in development. You can find official downloads of it at http://jdk.java.net/9/. Which version you should download is entirely a a question of what you plan to do with it.
Edit:
It has been officially released on 2017 Sep.
edited Oct 4 '17 at 11:55
Kayvan Tehrani
128110
128110
answered Mar 25 '17 at 7:50
murumuru
1
1
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.
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%2f896682%2fopenjdk-8-or-9%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