how to specify java runtime range with build granularity in jnlp

旧城冷巷雨未停 提交于 2019-12-13 00:15:45

问题


Because of a serious bug in Java 8 Update 40 which was fixed in Java 8 Update 40 build 27, I would like to specify that build as minimum in my JNLP. However this does not seem to work:

<resources>
  <java version="1.8.0_40-b27+"/>

Strangely, it doesn't work even if I specify exactly the build, which is currently installed on my machine, Java Web Start tells the me it's not, in my case I did:

<resources>
  <java version="1.8.0_40-b27"/>

Is it possible to somehow specify the Java runtime version in this granularity, after all?

Update: At least I can specify a range with update granularity (but not build granularity), if a certain href is provided:

<resources>
  <java version="1.8.0_40+" href="http://java.sun.com/products/autodl/j2se"/>

来源:https://stackoverflow.com/questions/29101079/how-to-specify-java-runtime-range-with-build-granularity-in-jnlp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!