我们正在考虑哪种JDK最适合R3 Corda.但是,在框架建议部署的方式上存在一些缺陷.
We are considering over which JDK is best suited for the R3 Corda. However there is some incosistency in the way framework suggests the deployment.
Oracle JDK –根据Corda文档 docs.corda.r3/推荐Getting-set-up.html
打开JDK –Corda框架为Docker部署定义了gradle任务为"DockerForm".该任务生成了工件,这些工件对于将Corda节点部署为docker容器很有用.因此,此任务为每个节点生成一个Dockerfile.默认情况下,此文件配置为使用OpenJDK.
Open JDK – The Corda framework has a defined gradle task for docker deployment as "DockerForm". This task generates the artifacts which are useful for deploying the Corda node as a docker container. So this task generates a Dockerfile for each node. This file is configured to use OpenJDK by default.
请让我们知道其背后的理由.Corda 3.x版本也支持Open JDK吗?在什么情况下我们有关于使用哪个JDK的指南吗?
Please let us know the rationale behind this. Does Corda 3.x version support Open JDK as well? Do we have any guideline on which JDK to use in what situation?
另一个问题是,Oracle JDK最终将在将来成为许可产品.那么R3将来是否也有计划支持Open JDK?
Another concern is that eventually Oracle JDK will be a licensed product in future. So does R3 have any plans to support Open JDK as well in future?
推荐答案从Corda 3.1开始,Corda仅支持Oracle JDK 8 JVM,最低支持版本为8u171.
As of Corda 3.1, Corda only supports the Oracle JDK 8 JVM, with a minimum supported version 8u171.
目前尚无计划增加对Open JDK的支持,但这可能会改变(例如,如果Oracle JDK成为许可产品).
There is no current plans to add Open JDK support, but that could change (if, for example, Oracle JDK became a licensed product).
更多推荐
哪种JDK最适合R3 Corda框架
发布评论