简体   繁体   English

JMeter 是否适用于 OpenJDK 13?

[英]Does JMeter works on OpenJDK 13?

I've did web search jmeter and openjdk 13 and found only that relevant post: Is JMeter is going to be paid as Oracle decides for Java post 1.8v?我已经进行了网络搜索jmeter and openjdk 13并只找到了相关的帖子: JMeter 是否会在 Oracle 决定使用 Java 1.8v 后支付费用? :

JMeter needs Java >=8 ( Java 9 and 10 are intermediate and not advised ). JMeter 需要 Java >=8( Java 9 和 10 是中间版本,不建议使用)。

On Apache JMeter page last JMeter version mentioned is JMeter 2.5.x (JVM 1.5+) .Apache JMeter 页面上提到的最后一个 JMeter 版本是JMeter 2.5.x (JVM 1.5+)

How does JMeter works on latest OpenJDK 13? JMeter 如何在最新的 OpenJDK 13 上工作?

Latest JMeter 5.2.1 works with Java 13最新的 JMeter 5.2.1 适用于Java 13

JMeter works for me on a freshly installed Ubuntu 19.04 Desktop with either OpenJDK 13 (installed from the Ubuntu repo) as well as Oracle JDK 13 JMeter 适用于我在新安装的 Ubuntu 19.04 桌面上使用 OpenJDK 13(从 Ubuntu 存储库安装)以及 Oracle JDK 13

JMeter officially don't limit java version in requirements : JMeter 正式不限制 Java 版本的要求

JMeter is compatible with Java 8 or higher . JMeter与 Java 8 或更高版本兼容 We highly advise you to install latest minor version of your major version for security and performance reasons.出于安全和性能原因,我们强烈建议您安装主要版本的最新次要版本

Also you can see JMeter is tested with Java 13 on Travis CI您还可以看到 JMeter 在Travis CI上使用 Java 13 进行了测试

Why it shouldn't?为什么不应该? Java is backwards compatible and as long as software doesn't rely on removed APIs it should be running better on newer JDK/JRE. Java 向后兼容,只要软件不依赖于已删除的 API,它就应该在较新的 JDK/JRE 上运行得更好。 Moreover as per 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article you should be using:此外,根据9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure文章,您应该使用:

  1. The latest JMeter version最新的 JMeter 版本
  2. The latest Java version (better 64-bit server JRE or JDK)最新的 Java 版本(更好的 64 位服务器 JRE 或 JDK)
  3. The latest version of JMeter Plugins (if any are used in your tests)最新版本的JMeter 插件(如果您的测试中使用了任何插件

在此处输入图片说明

Just in case you can get familiarized with Oracle JDK Migration Guide以防万一您可以熟悉Oracle JDK 迁移指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM