在从Oracle JDK迁移到Amazon Corretto时,是否应重新编译完整的Java解决方案?

huangapple go评论63阅读模式
英文:

Should I recompile the full Java solution during migration from Oracle JDK to Amazon Corretto

问题

初始要求是支持Amazon Corretto。我有许多已经由Oracle JDK构建的JAR文件。

Amazon Corretto已通过Java技术兼容性工具包(TCK)进行了认证,并符合Java SE标准,所以我是否应该使用不同的JDK(在这种情况下是Amazon Corretto 8)重新编译所有这些JAR文件?这有意义吗?

英文:

The initial requirement is to support Amazon Corretto. I have a lot of jar's which are already built by Oracle JDK.

Amazon Corretto is certified using the Java Technical Compatibility Kit (TCK), and It meets the Java SE standard, so should I re-compile all these jars using different JDK (Amazon Corretto 8 in this case)? Does it makes sence?

答案1

得分: 2

不需要在切换 Oracle JDK、Open JDK 和 Amazon Corretto 之间重新编译您的 Java 文件为字节码(class 文件)。如果您要切换到更新的 JDK,那可能值得调查,但否则 Amazon 的 Corretto 与 Oracle 和 Open JDK 100% 兼容。

Amazon Corretto FAQ 包含更多信息:https://aws.amazon.com/corretto/faqs/

英文:

No there is no need to recompile your Java files into bytecode (class files) when switching between Oracle JDK or Open JDK and Amazon Corretto. If you're switching to a newer JDK then that might be worth investigating, but otherwise Amazon's Corretto is 100% compatible with Oracle and Open JDK.

The Amazon Corretto FAQ has more info: https://aws.amazon.com/corretto/faqs/

huangapple
  • 本文由 发表于 2020年8月6日 00:17:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/63269342.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定