Feature Request: Offer OpenJDK options for Java.
I know that you can manually install local versions, but this is a bit kludgy and doesn't take advantage of Sdkman tracking updates.
There are no official OpenJDK binaries, which is why we have chosen Oracle binaries instead. Let me know if you can point me to such non-proprietary binaries.
These are the best one can get, but still unofficial:
https://github.com/ojdkbuild/ojdkbuild
I don't know what's considered official or not, but here are a couple of things to consider:
Here's a stackoverflow post that shows how Jabba does it, which makes it clear the install is coming from Zulu, rather than calling it an official version.
The reason that we're moving to OpenJDK is that Oracle doesn't provide Docker images that are deemed official to Docker, whereas it appears that OpenJDK ones are as shown there. So if we're going to deploy with OpenJDK, then we'd like to match our local dev environment as well.
Sure, Azul's Zulu is certainly a distribution we can look at as alternative to Oracle JDKs.
It would be great if we can have OpenJDK 9 and 10 in SDKMAN! Debian package OpenJDK 9, but Fedora does not.
(Debian seems to update OpenJDK 9 faster than SDKMAN!)
We don't have the facility to install deb or rpm packages atm. We rely on
tarballs or zips, so would need to introduce the Zulu JDKs by Azul for now.
On Sat, 18 Mar 2017, 08:47 Russel Winder, notifications@github.com wrote:
It would be great if we can have OpenJDK 9 and 10 in SDKMAN! Debian
package OpenJDK 9, but Fedora does not.(Debian seems to update OpenJDK 9 faster than SDKMAN!)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/543#issuecomment-287526692,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI0Bqti2-ttB5BQZTzKecswaaCPyGVdks5rm5oEgaJpZM4MRrWp
.
I am entirely happy with SDKMAN! set up entirely as is, no need for debs and rpms.
I have rejected all use of Oracle licence software as the terms are too onerous. I have some problems with the Azul licence for the OpenJDK, but at least it is acceptable (see thread on LJC mailing list for more details).
If the Azul OpenJDK 9 could be brought in to SDKMAN!, you would have at least one very happy bunny.
Will make it a priority sir!
On Sat, 18 Mar 2017, 09:53 Russel Winder, notifications@github.com wrote:
I am entirely happy with SDKMAN! set up entirely as is, no need for debs
and rpms.I have rejected all use of Oracle licence software as the terms are too
onerous. I have some problems with the Azul licence for the OpenJDK, but at
least it is acceptable (see thread on LJC mailing list for more details).If the Azul OpenJDK 9 could be brought in to SDKMAN!, you would have at
least one very happy bunny.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/543#issuecomment-287531092,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI0Bm_jO1ah51cfsHK-ylyx9BgfHAfdks5rm6mggaJpZM4MRrWp
.
@marc0der I recollect a conversation we had in a meeting at Skills Matter when they were in Goswell Street (Groovy and Grails eXchange mayhap), you asked me to trial GVM as it was then, and I effectively said no, arguing in favour of OS packaging. How I have been proved wrong, here is me asking for new things in SDKMAN! I have clone the CLI repository, and will try to look at one or two of the issues.
Thanks for the kind words Russel. Your contributions will of course be much appreciated.
Good day
Would just like to support the feature request - do like sdkman very much and would love to see openjdk in it...
I'm currently in the process of getting talks going with Azul to start pushing Zulu as alternative to Oracle JDK. I'll post any updates here as they become available. Once we have this in place, we'll probably stop distributing Oracle JDKs altogether.
Zulu has started rolling out, and Oracle JDKs have been removed. We have started with providing JDK 8u131, but will be releasing 6, 7 and 9 incrementally over the next few days.
I installed SDKMAN! on a new system today and I was kind of surprised to not be able to download the Oracle JDK 8. From reading the above I understand it was it was intentionally removed. Am I correct?
Is there a way to install the Oracle JDK manually and still switch candidates using SDKMAN!?
My original request was to offer OpenJDK options not to remove the Oracle ones. I was surprised to hear that the Oracle options have been removed.
There are plenty of organizations that will want to stick with Oracles distribution, however misguided. There are also cases where OpenJDK is not recommended, which was the case for a couple of years with Cassandra, but whatever that issue was appears to have been corrected.
Unfortunately Oracle now mandate an account login for downloading their JDKs. We have no legal way of getting around this, so the only option that remains is to pull Oracle JDKs completely from sdkman. Sad but true.
That said, it is still possible to install Oracle JDKs manually and register them with sdkman as local versions as described the usage page on our website.
Hope this helps!
Here is another confused user. Wanted to update my current (Oracle) JDK 8, and saw this list:
````
$ sdk ls java
8u131-zulu
- 8u121
- 8u111
- 7u79
- 6u65
````
Never having heard of 'zulu', I just invoked sdk install java, and now ended up having another JDK as default instead of Oracle's, when I expected only a newer patch level...
After having read this issue/thread, I totally understand from SDKMan's point of view, but the point I want to make is: users like me who just update (the patch level of) their JDK will end up with a vendor they might not expect (because 'zulu' as a version-tag-name-whatever does not really reveal anything...)
Maybe add a word of caution before upgrading?
Thanks for this great tool anyway!
Since when do they require a login to download the current jdk? This was only needed for outdated stuff in the past. As neither OpenJDK nor Azul's build contain JavaFX this change might be quite troublesome for some users.
This happened during the course of last week. To my knowledge, JDKs on the Oracle website have never required account credentials, since this would have caused breakage on sdkman.
Taking the Oracle JDKs down was done as a contingency plan until we can asses which versions are affected. We will bring back the most popular versions that are unaffected.
@marc0der , I see that major versions and versions with bug/security fixes will be available for three years from the GA date. This can be used to show available oracle jdk options.
Yes, and we will bring back the latest Oracle JDK 8 soon.
On Tue, 6 Jun 2017, 06:53 Rishikesh Darandale, notifications@github.com
wrote:
@marc0der https://github.com/marc0der , I see
http://www.oracle.com/technetwork/java/javase/documentation/eol-135779.html#Java6-end-public-updates
that major versions and versions with bug/security fixes will be available
for three years from the GA date. This can be used to show available oracle
jdk options.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/543#issuecomment-306389105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI0BixhOTjXzzeZQ764KnIRU5LYahHeks5sBOlFgaJpZM4MRrWp
.
I was able to download jdk 8 u 131 without any request to login. I had to only accept the license.
Is it possible to add oracle updates back? Thanks.
Yes, I will be bringing Oracle JDK as soon as the backend can handle both OpenJDK and Oracle JDKs.
cool, thank you.
And about Oracle or Zulu jdk 9... Is going to be added?
I would like to test it :-)
Thanks!
Just wasted a ton of time trying to launch a JavaFX app I am developing using Java I installed with sdkman. Please bring the Oracle JDK back soon.
Oracle jdk 8 is added to sdk cli
Yes, the Oracle JDKs have been back for some time now. Try running an sdk
ls java.
On Thu, 10 Aug 2017, 06:45 Rishikesh Darandale, notifications@github.com
wrote:
Oracle jdk 8 is added to ask cli
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/543#issuecomment-321449558,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI0Bp68leLszz4p9DBFtOjyp0UH_pioks5sWorTgaJpZM4MRrWp
.
I don't know where this is at, but thought I would post this https://adoptopenjdk.net/index.html
It'd be great to have openjdk8 in sdkman. I know we, probably others, have a mandate to move away from oracle's version. Yea...we're moving to update Java as well, but step 1 is move to open jdk8, then step 2 in the future is to upgrade to 11.
It'd be tremendously useful to be able to flip back and forth between openjk8 and oracle java8 during dev testing/validation.
@chriskessel openjdk has already been available on sdkman for a long time, so no need to use the Oracle JDK. We currently have the official openjdk, as well as the Zulu open JDK flavours. We also have versions ranging from 8 (on some platforms further back) right through to 13ea.
Do I need to update something? I don't see the open jdk8 listed (I do see zulu).
$ sdk list java
================================================================================
Available Java Versions
================================================================================
13.ea.02-open 1.0.0-rc-11-grl
12.ea.26-open 1.0.0-rc-10-grl
11.0.1-zulu 1.0.0-rc-9-grl
11.0.1-open 1.0.0-rc-8-grl
10.0.2-zulu
10.0.2-open
+ 10.0.2-oracle
* 9.0.7-zulu
9.0.4-open
> + 8u161-oracle
8.0.192-zulu
8.0.191-oracle
+ 7u141-zulu
7.0.201-zulu
6.0.119-zulu
@chriskessel you don't need to update since the Zulu JDK is a fully compliant distribution of OpenJDK. Oracle have chosen not to package OpenJDK 8 on java.net like they did for 9-13 which is why it is not available for download on sdkman either.
You should be perfectly fine using Zulu though, it is a great distribution of the OpenJDK.
No oracle JDK supportted? I could not find oracle jdk anymore :(
Nope, Oracle JDK 8 has finally been pulled from SDKMAN due to it's
licensing. Use the OpenJDK instead.
On Thu, 25 Apr 2019 at 08:12, Bing Fan notifications@github.com wrote:
No oracle JDK supportted?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/543#issuecomment-486547711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABDIBWY7MFR4SBVP2G72V3PSFKWLANCNFSM4DCGWWUQ
.
--
Marco Vermeulen
+44 7757 510 608
@marc0der at the moment OpenJDK doesn't have Java8 version anymore :/ the oldest available is 9.0.4 | open | installed | 9.0.4-open
is this intentional too, or I missed something? 10q
It is supported, simply install the AdoptOpenJDK flavour: 8.0.232.hs-adpt, or if you really want the reference implementation: 8.0.232-open.
sdk install 8.0.232.hs-adpt
Stop! 8.0.232.hs-adpt is not a valid candidate.
sdk install java ...
My bad 🤦♂️, sorry
Most helpful comment
And about Oracle or Zulu jdk 9... Is going to be added?
I would like to test it :-)
Thanks!