英文:
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/
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论