如何理解JAVA版本号

如何理解JAVA版本号

  1. 在某银行测试项目中提交的生产JDK版本号是1.8.2,然后我们在测试中的JDK版本使用的是 "1.8.0_252"由于两者版本号问题不一致,测试经理认为和生产版本不一致需要重新测试。当时听到这个消息吐血啊,然后我根据以往的测试经验认为JDK版本号是1.8.2版本其实就是1.8.0_2毕竟是自己的 猜想凡事要讲证据吗,于是开始搜索证据毕竟我也不想重测啊哈哈哈哈。
  2. 终于经过努力找到了资料------例如: JavaSE 8u31 是 JavaSE 8 的第 31 次更新, 它的内部版本号是 1.8.0_31。 更新不需要安装在前一个版本上,它会包含整个 JDK 的最新版本。 另外, 并不是所有更新都公开发布, 所以如果“ 更新 31” 之后没有“ 更新 32”,你也不用惊慌。
  3. 然后我又去JDK官方网站寻找文档再次证实下这个说法,官方文档最有发言权啊。

Required vs. Optional Files
The files that make up the Java Runtime Environment (JRE) are divided into two categories: required and optional. Optional files may be excluded from redistributions of the JRE at the vendor’s discretion.
On JDK installations, the JRE directory, containing the redistributable portions, is located in the jdk1.8.0_version/jre directory, where is the update version number.
Please refer to the JRE Readme for details of which files are required and which files are optional when distributing a JRE.
The JDK includes additional tools that might also be redistributed.
4. 感谢这位网友的解释
参考链接:https://blog.csdn.net/qq_37499840/article/details/89041335?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值