Differences between Oracle JDK and OpenJDK

后端 未结 11 1247
囚心锁ツ
囚心锁ツ 2020-11-22 12:01

NOTE: This question is from 2014. As of Java 11 OpenJDK and Oracle JDK are converging.

Are there any crucial differences between Ora

11条回答
  •  不思量自难忘°
    2020-11-22 12:10

    A list of the few remaining cosmetic and packaging differences between Oracle JDK 11 and OpenJDK 11 can be found in this blog post:

    https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later

    In short:

    • Oracle JDK 11 emits a warning when using the -XX:+UnlockCommercialFeatures option,
    • it can be configured to provide usage log data to the “Advanced Management Console” tool,
    • it has always required third party cryptographic providers to be signed by a known certificate,
    • it will continue to include installers, branding and JRE packaging,
    • while the javac --release command behaves slightly differently for the Java 9 and Java 10 targets, and
    • the output of the java --version and java -fullversion commands will distinguish Oracle JDK builds from OpenJDK builds.

提交回复
热议问题