java - Spring 5.1.5.RELEASE 我应该如何选择 JVM 版本

标签 java spring jvm

我有一个在 JAVA - AIX 平台上运行的应用程序,我正在尝试将我的 Spring 应用程序移动到 Spring 版本 5.1.5.RELEASE。

我无法升级当前版本为“J9VM - R28_20170209_0201_B336038”的 JVM

该应用程序确实在上述 JVM 版本中运行,但我不确定是否也必须升级到最新的 JVM 才能受益于最新的 Spring 版本!?

有关于 JVM 的文档可供选择 Spring 版本吗?

PS:我的应用程序无法在任何更高的 JVM 版本上运行,我必须先解决这个问题。

最佳答案

参见JDK Version Range关于 Spring Framework Versions页面,当前显示:

  • Spring Framework 5.1.x: JDK 8-12
  • Spring Framework 5.0.x: JDK 8-10
  • Spring Framework 4.3.x: JDK 6-8

We fully test and support Spring on Long-Term Support (LTS) releases of the JDK, i.e. currently JDK 8 and 11 (both with a lifetime until 2023). Additionally, there is support for intermediate releases such as JDK 9/10 or the upcoming JDK 12 on a best-effort basis, meaning that we accept bug reports and will try to address them as far as technically possible but won't provide any service level guarantees.

Please upgrade to Spring Framework 5.1 (and the corresponding Spring Boot 2.1) for JDK 11 support, as the common Long-Term Support migration path from JDK 8. No earlier Spring versions are officially supported on JDK 11, in particular not with JDK 11 bytecode level. Note that third-party components might not fully support JDK 11 yet, so you are likely to be limited in your full-stack options.

关于java - Spring 5.1.5.RELEASE 我应该如何选择 JVM 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57795864/

相关文章:

java - JScrollPane 的使用

java - 在java SWT Composite中不按照设置的布局进行布局

spring - FileSystemResource 以内容类型 json 返回

java - Spring MVC Hello World

java - 最好的 Java 集成脚本语言? (堆栈跟踪和调试)

java - 在 Spring Restful Web 服务中获取 404 请求的资源不可用

java - Android onStartCommand 服务

spring - JSP属性文件读取

java - 控制或预测 JVM 堆大小

java - 线程堆栈的内部 Java 内存模型