-
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
Open
King31T
wants to merge
5
commits into
tronprotocol:master
Choose a base branch
from
King31T:4.8.1_arch
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(也就是图中的1.8,1.8和8只是命名方式的不同,在java-tron的文档中,非特殊情形下,统一命名成8),否则可能会在构建过程中遇到意外错误。 | ||
|
|
||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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为示例:”