简体   繁体   English

如何将java申请表oracle jdk迁移到openjdk?

[英]How to migrate java application form oracle jdk to openjdk?

we have one java application which is deployed in jboss application server and using java 1.8.0_202 version, now we want to change it to openjdk.我们有一个 java 应用程序部署在 jboss 应用程序服务器中,并使用 java 1.8.0_202 版本,现在我们想将其更改为 openjk 版本。 how can i change?我该如何改变? is there any code changes required?是否需要任何代码更改? please help me complete steps to be performed?请帮我完成要执行的步骤?

Thanks in advance..提前致谢..

No changes required to your codebase when switching between implementations of Java 8. Java is defined by a set of specifications along with JSRs and JEPs.在 Java 8 的实现之间切换时,您的代码库无需更改。Java 由一组规范以及 JSR 和 JEP 定义。 Any implementation that complies with those specs will run your JBoss app server.任何符合这些规范的实现都将运行您的 JBoss 应用服务器。 Your existing WAR or EAR file will run as-is with no changes needed.您现有的WAR或 EAR 文件将按原样运行,无需进行任何更改。

Understand that the OpenJDK project provides an implementation of Java as source code.了解 OpenJDK 项目提供了 Java 的实现作为源代码。 The OpenJDK project does not provide binary builds nor installers. OpenJDK 项目提供二进制构建或安装程序。 For builds and installers, you must locate a vendor.对于构建和安装程序,您必须找到供应商。 You have a choice of several, some free-of-cost and some that require a fee.您可以选择几种,有些是免费的,有些是需要收费的。

Here is a flowchart I made to help you choose a vendor.这是我为帮助您选择供应商而制作的流程图。

This chart is aimed at Java 11, but many of these vendors also supply Java 8. Some, such as Azul Systems, have even back-ported features to Java 8 such as Flight Recorder .此图表针对 Java 11,但其中许多供应商也提供 Java 8。一些,如 Azul Systems,甚至将功能向后移植到 ZD52387880E1EA22817A72D375 88Z375 等飞行记录

指导您为 Java 11 实施选择供应商的流程图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM