-
Notifications
You must be signed in to change notification settings - Fork 129
Feat: change in 4.8.1 of arch(including jdk and database) #274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,16 +4,17 @@ | |
|
|
||
| java-tron 节点支持部署在 `Linux` 或 `MacOS` 操作系统上。其依赖的 JDK 版本要求如下: | ||
|
|
||
| - **通用要求**:依赖 Oracle JDK 1.8 版本 | ||
| - **`v4.8.1` 及以上版本**:新增支持 ARM 架构下的 JDK 17 | ||
| - x86架构上:依赖 Oracle JDK 8 | ||
| - ARM架构上:依赖JDK 17 | ||
|
|
||
| 下面的配置以x86架构、Oracle JDK 8为示例: | ||
|
|
||
| ## 前置条件 | ||
|
|
||
| 在开始配置之前,请确保您的开发环境满足以下条件: | ||
|
|
||
| - 操作系统为 `Linux` 或 `MacOS` | ||
| - 已安装 Oracle JDK 1.8 | ||
| - 已安装 Oracle JDK 8 | ||
| - 已安装 `git` | ||
| - 已安装 [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) | ||
|
|
||
|
|
@@ -39,7 +40,7 @@ Lombok 通过注解的方式简化 Java 代码,是 java-tron 开发的必备 | |
|  | ||
|
|
||
| ### 步骤 3:验证并统一 JDK 版本 | ||
| 为确保项目能够正确编译和运行,必须在 IntelliJ IDEA 的两个关键位置都将 JDK 版本设置为 Oracle JDK 1.8。 | ||
| 为确保项目能够正确编译和运行,必须在 IntelliJ IDEA 的两个关键位置都将 JDK 版本设置为 Oracle JDK 8。 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这里也是
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 要不查一下这个文档里面?有一些之前的内容也保留着jdk8的叙述 |
||
|
|
||
| #### 1. 配置项目 SDK (Project SDK) | ||
| 这是用于编译项目源代码和进行语法分析的核心 JDK。 | ||
|
|
@@ -55,7 +56,7 @@ Lombok 通过注解的方式简化 Java 代码,是 java-tron 开发的必备 | |
|
|
||
|  | ||
|
|
||
| > **重要提示**: **Project SDK** 和 **Gradle JVM** 这两个设置必须完全一致,且都指向 Oracle JDK 1.8,否则可能会在构建过程中遇到意外错误。 | ||
| > **重要提示**: **Project SDK** 和 **Gradle JVM** 这两个设置必须完全一致,且都指向 Oracle JDK 8,否则可能会在构建过程中遇到意外错误。 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 由于图中仍然是JDK 1.8,要不要加一个说明? 图中的1.8就是JDK8
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 好的。另外解释下为什么x86上从JDK 1.8改成JDK8了,因为arm是JDK 17 , 所以针对JDK做了一下命名规范。 |
||
|
|
||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是不是也要提一下JDK 17?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
前面有一句陈述“下面的配置以x86架构、Oracle JDK 8为示例:”