You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "andrijapanicsb (via GitHub)" <gi...@apache.org> on 2026/09/24 11:32:30 UTC
[I] [JAVA] Move to JDK21 [cloudstack]
andrijapanicsb opened a new issue, #14241:
URL: https://github.com/apache/cloudstack/issues/14241
### The required feature described as a wish
CloudStack now runs on JDK 17, strict requirement.
JDK 17 is EoL this September (Oracle) and in less than a 1y with other "providers":
- Vendor Support End Dates for OpenJDK 17
- Oracle JDK 17: Premier Support ends on September 30, 2026 (with Extended Support running through September 30, 2029).
- Microsoft Build of OpenJDK 17: Supported until September 30, 2027.
- Eclipse Temurin (Adoptium): Supported until at least October 31, 2027.
- Red Hat build of OpenJDK 17: Supported until December 31, 2027.
JDK25 is too cutting-edge and has a narrow ecosystem, so the recommended LTS to switch to is JDK 21.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "la-wu (via GitHub)" <gi...@apache.org>.
la-wu commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5890418868
We are currently setting up a new cloudstack environment and decided to go for jdk 17 as this the only version mentioned as officially supported in the official cloudstack documentation.
We decided to use Rocky Linux 10 so we can`t use the default version from Rocky Linux 10.
Would love the see jdk 21 offically supported so there would be no need to use the extra adoptium repository for java.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5814039909
@andrijapanicsb
Java 21 has been already supported since @vishesh92 's PR #11546
I also ran the smoke tests on Debian 13 against 4.23.0.0-RC3, and everything worked without any issues.
<img width="2391" height="1655" alt="Image" src="https://github.com/user-attachments/assets/44c843b7-abfc-4961-a406-853f66ed7474" />
openjdk-17 is not available in Debian 13.
cc @harikrishna-patnala
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5817066438
Thx @weizhouapache great - but did I read correctly this is for EL10 only? Does it support other OS-es (Debian 13,12) any other ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5817217488
> Now I see tests passing on Suse 15, EL10 and you also mention Debian 13 - cool. Still question - do older OS-es (assuming manual installation might be required will also run Java21)?
IMO, users should be able to choose either Java 17 or Java 21. Both should work, including on older OS versions, as long as the chosen Java version is supported on that OS.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-6211511717
created PR for doc update here: https://github.com/apache/cloudstack-documentation/pull/691
for debian 13 support in packages: https://github.com/apache/cloudstack/pull/14418
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5817098383
Now I see tests passing on Suse 15, EL10 and you also mention Debian 13 - cool. Still question - do older OS-es (assuming manual installation might be required will also run Java21)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "la-wu (via GitHub)" <gi...@apache.org>.
la-wu commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-6210192614
> 12\. > We are currently setting up a new cloudstack environment and decided to go for jdk 17 as this the only version mentioned as officially supported in the official cloudstack documentation.
> > We decided to use Rocky Linux 10 so we can`t use the default version from Rocky Linux 10.
> > Would love the see jdk 21 offically supported so there would be no need to use the extra adoptium repository for java.
>
>
> [@la-wu](https://github.com/la-wu)
> I think supporting JDK 21 officially should only require a documentation update. no code changes are needed.
> You can use JDK 21 with Rocky Linux 10.
Just to keep you updated we switch to Java 21 without any issues so for in our LAB environment.
Thanks for the quick update and officall support.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5890583004
> We are currently setting up a new cloudstack environment and decided to go for jdk 17 as this the only version mentioned as officially supported in the official cloudstack documentation.
> We decided to use Rocky Linux 10 so we can`t use the default version from Rocky Linux 10.
> Would love the see jdk 21 offically supported so there would be no need to use the extra adoptium repository for java.
@la-wu
I think supporting JDK 21 officially should only require a documentation update. no code changes are needed.
You can use JDK 21 with Rocky Linux 10.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-6210116845
doc PR: https://github.com/apache/cloudstack-documentation/pull/690
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-6362881746
> 17\. [@vishesh92](https://github.com/vishesh92) , as [#14418](https://github.com/apache/cloudstack/pull/14418) is merged can we close or is there still work to do on this?
Though the issue says JDK, I think it meant to say JRE. Because we are still developing based on JDK11 (https://github.com/apache/cloudstack/blob/1abb53924280df2ff70fd17f2f0ffe2e4183dde8/pom.xml#L64). So, we can close this once the doc PR (https://github.com/apache/cloudstack-documentation/pull/691) is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5816298092
just checked a OL10 host, it also use java 21
<img width="1941" height="751" alt="Image" src="https://github.com/user-attachments/assets/9072db36-2c0c-4670-95b8-37894c2c2aa2" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5813275086
Newer distros don't even ship Java 17 any more and custom repos are needed. Time to upgrade.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "EduFrazao (via GitHub)" <gi...@apache.org>.
EduFrazao commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-5870995213
I've already running 4.22.1.0 here with Java21.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [JAVA] Move to JDK21 [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #14241:
URL: https://github.com/apache/cloudstack/issues/14241#issuecomment-6362811632
@vishesh92 , as #14418 is merged can we close or is there still work to do on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org