Hi all, Thanks for the feedback.
I have opened a PR to move this forward: https://github.com/apache/iotdb/pull/17859 The PR raises the minimum Java version to 17, updates the related build/runtime checks, upgrades dependencies that were previously constrained by the Java baseline, and migrates the REST/OpenAPI generated surface and related annotation usages from javax to jakarta where applicable. Please take a look and share your feedback. Best regards, Haonan On 2026/06/05 08:15:53 Christofer Dutz wrote: > +1 (binding) cdutz > > As I brought this up several times with the exact same reasoning anything but > a +1 from my side would be strange 😉 > > And then we can also switch from the Javax to the jakarta namespace which is > preventing usage of IoTDB with modern framework such as Spring. > > Chris > > Von: Wang Critas <[email protected]> > Datum: Freitag, 5. Juni 2026 um 10:10 > An: [email protected] <[email protected]> > Betreff: 答复: [DISCUSS] Raise the minimum JDK version of Apache IoTDB to 17 > > Hi Haonan, > > Thank you for bringing this up again. > > I’m +1 on raising the minimum JDK version to 17. The benefits you > mentioned—resolving CVEs via dependency upgrades, reducing maintenance > overhead for legacy compatibility, and aligning with the modern Java > ecosystem (including the Jakarta namespace migration)—are compelling reasons. > > Given that JDK 17 is a widely adopted LTS release and many downstream users > have already moved to it, I believe the impact on the community will be > acceptable. We should also update our documentation and CI configurations > accordingly. > > Looking forward to other's opinions. > > Best regards, > > Xuan Wang > > 发件人: Jialin Qiao <[email protected]> > 日期: 星期五, 2026年6月5日 15:13 > 收件人: [email protected] <[email protected]> > 主题: Re: [DISCUSS] Raise the minimum JDK version of Apache IoTDB to 17 > > +1 > > Jialin Qiao > > Haonan Hou <[email protected]> 于2026年6月5日周五 14:37写道: > > > > Hi all, > > > > I would like to restart the discussion about raising the minimum JDK > > version of Apache IoTDB to > > JDK 17, which has been discussed before. > > > > The current JDK baseline limits our ability to upgrade some important > > third-party dependencies. > > For example, newer versions of Logback, Jetty, and related libraries often > > require newer Java > > versions, but these upgrades are important for resolving known CVE issues > > and keeping > > dependencies maintained. > > > > Besides security fixes, moving to JDK 17 would also help us align with the > > modern Java > > ecosystem. For example, some dependencies have already moved from the JavaX > > namespace > > to the Jakarta namespace, and staying on an old JDK baseline makes such > > migrations harder. It > > also increases the maintenance cost of keeping compatibility with outdated > > dependency > > versions. > > > > Therefore, I would like to propose raising the minimum JDK version of > > Apache IoTDB to 17. > > > > Please share your thoughts. > > > > Best regards, > > Haonan Hou >
