问题
Oracle JDK is recommended as per the Corda documentation. Corda does not officially support Open JDK.
Refer: Which JDK is best suited for R3 Corda framework
However if we use DockerForm to create Docker image for the Corda node, it internally uses OpenJDK. Why is it so? I mean, is it just a consistency miss or a deliberate decision?
回答1:
The license that comes with the Oracle JDK does not allow for redistributing. So they cannot offer a Docker image with the Oracle JDK/JRE on it. You can, however, build one yourself and install Corda on that.
来源:https://stackoverflow.com/questions/51701777/why-dockerform-plugin-generates-docker-images-using-openjdk