Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.

Expected Behavior We need the Spring AI framework to support java8. Our company mainly uses java8 and has 3000+ service application equipment. The manufacturing field, core business software, and market share is 19+%. Please carefully consider and accept the requirements and schedule our development. To the great open source spring ai team.

我们需要spring ai框架支持java8,我们公司主要使用java8,而且有3000+业务应用装备,制造领域、核心商业软件、市场占用率19+%,请认真考虑和接收需求,给我们排期开发,致伟大的开源spring ai团队。

Current Behavior

Context

Comment From: zhengkailong

up up up java8developer 冲 冲 冲 java8开发者

Comment From: 799452017

支持

Comment From: dev-jonghoonpark

Starting from Spring Boot 3.0, Java 17 or later is required.

Comment From: benxiaohai061

不用想了。不可能的事情

Comment From: sunyuhan1998

Indeed, there are still many teams or individuals using JDK 8, but in reality, it has already become quite an outdated version. Since the release of Spring Boot 3.0, the requirement for JDK version has been JDK 17 or above. If you haven't upgraded to JDK 17+, I assume you may still be using an older version of Spring Boot, which is no longer supported or maintained. Therefore, I believe it's necessary to upgrade your project to a newer JDK version. Moreover, newer JDK versions offer many excellent new features.

Comment From: HappyToSummer

Image

Comment From: fanxt0218

old projects actually need to update,java 8 is too old

Comment From: jingsewu

There is no need to support JDK 8. You can start an AI server using Spring AI and connect it to other services via REST or other APIs.

Comment From: wsldl123292

我们为了这个框架专门从jdk8升级到jdk21

Comment From: wenlinguo

java 8 ? 你应该考虑升级你的Java版本,而不是让现代框架去支持 Java8版本。8以后的好多语法糖,好多特性都用不上,好痛苦

Comment From: pangzaliang

I think you should upgrade your version of the JDK, even if it is not for the features of the new version of the JDK. Because the new version of the JDK will also fix various bugs and vulnerabilities, etc., sticking to the rules is not necessarily the best solution.

我认为应该升级您的JDK版本,即便不是为了JDK新版本的特性.因为新版本的JDK也会修复各种bug和漏洞等等,墨守成规真不一定是最优解.

Comment From: davincerepo

这是新起的项目,不太可能再去背历史包袱兼容Java8了,还是升级JDK版本靠谱一点,大厂都在升级了

Comment From: KerwinAusten

因为Spring 6.x不支持JDK8,所以Spring AI也不可能支持,而支持JDK8的Spring 5.3.x已经停止社区更新了,也不可能被使用。 你们市场占有率20%,有3000多个应用又能怎么样呢?你们购买了Spring商业版吗,你们会把钱给这些开发者吗? 动动嘴皮子就让别人累死累活,你们公司咋那么脸大呢

Since Spring 6.x no longer supports JDK 8, it's impossible for Spring AI to support it either. Meanwhile, Spring 5.3.x, which does support JDK 8, has already stopped receiving community updates and thus cannot be used either. You have a 20% market share and power over thousands of applications—so what? Have you purchased the commercial version of Spring? Are you going to pay these developers? You sit there and give orders while others work themselves to death. How can your company have the audacity to act so entitled?

Comment From: hbsjz-swl

如果贵公司有足够的实力可以私下联系Spring专家团队,为贵公司定制java8版本的SpringAI框架支持,如果贵公司没有这样的实力,那么就不要在这发牢骚了,looking my eyes!

Comment From: ZerothreeWang

我重写了spring-ai的核心功能,使用jdk8,springboot2.7.18。目前支持了流式调用,支持mcp-client,mcp-server。阻塞调用没实现。如果需要,可以联系我,分享学习。