Skip to content

Commit a190b91

Browse files
authored
Merge pull request #578 from King31T/fix_jdk
Refine JDK 8 wording in docs and drop JDK download links
2 parents 61707f3 + 865263a commit a190b91

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/architecture/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ db.createUser({user:"<eventlog-username>",pwd:"<eventlog-password>",roles:[{role
625625

626626
The Event Query Service provides an HTTP interface for querying event data stored in MongoDB. This service requires a Java environment.
627627

628-
**Note**: Please use Oracle JDK 8 on x86_64 architecture and JDK 17 on arm64 architecture.
628+
**Note**: Please use JDK 8 (latest minor version recommended) on x86_64 architecture and JDK 17 on arm64 architecture.
629629

630630
##### 1. Downloading the Source Code
631631

docs/developers/run-in-idea.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ To simplify the Java development process and improve efficiency, selecting and c
44

55
java-tron nodes support deployment on `Linux` or `MacOS` operating systems. The JDK version requirements are as follows:
66

7-
- On x86_64 architecture, currently only Oracle JDK 8 is supported.
7+
- On x86_64 architecture, currently only JDK 8 (latest minor version recommended) is supported.
88
- On arm64 architecture, currently only JDK 17 is supported.
99

10-
The following configuration uses x86_64 architecture and Oracle JDK 8 as an example.
10+
The following configuration uses x86_64 architecture and JDK 8 (latest minor version recommended) as an example.
1111

1212
## Prerequisites
1313

1414
Before you begin, please ensure your development environment meets the following requirements:
1515

1616
- Operating System: `Linux` or `MacOS`
17-
- Oracle JDK 8 is installed
17+
- JDK 8 (latest minor version recommended) is installed
1818
- `git` is installed
1919
- [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) is installed
2020

@@ -41,7 +41,7 @@ To ensure Lombok's annotations work correctly, you must enable the annotation pr
4141

4242
### Step 3: Verify and Unify the JDK Version
4343

44-
To ensure the project compiles and runs correctly, you must set the JDK version to Oracle JDK 8 in two key locations within IntelliJ IDEA.
44+
To ensure the project compiles and runs correctly, you must set the JDK version to JDK 8 (latest minor version recommended) in two key locations within IntelliJ IDEA.
4545

4646

4747
#### 1. Configure Project SDK
@@ -60,7 +60,7 @@ This is the JDK used to execute Gradle build tasks (e.g., build, clean).
6060

6161
![image](https://raw.githubusercontent.com/tronprotocol/documentation-en/master/images/IDE_JDK.png)
6262

63-
> **Important Note**: The **Project SDK** and **Gradle JVM** settings must match and both be set to Oracle JDK 8(Consistent with version 1.8 shown in the figure, the difference between 1.8 and 8 is only in the naming convention. In the java-tron documentation, it is uniformly designated as 8 unless otherwise specified). Otherwise, you may encounter unexpected errors during the build process.
63+
> **Important Note**: The **Project SDK** and **Gradle JVM** settings must match and both be set to JDK 8 (latest minor version recommended; consistent with version 1.8 shown in the figure, the difference between 1.8 and 8 is only in the naming convention. In the java-tron documentation, it is uniformly designated as 8 unless otherwise specified). Otherwise, you may encounter unexpected errors during the build process.
6464
6565

6666
## Getting and Compiling the Source Code

docs/using_javatron/installing_javatron.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document guides developers on how to deploy a TRON java-tron node on `Linux
44

55
Currently, a java-tron node supports running on both x86_64 and arm64 architectures(support for the arm64 architecture starts from version 4.8.1). JDK support varies by architecture:
66

7-
- For the x86_64 architecture, currently only Oracle JDK 8 is supported.
7+
- For the x86_64 architecture, currently only JDK 8 (latest minor version recommended) is supported.
88
- For the arm64 architecture, currently only JDK 17 is supported.
99

1010

@@ -58,7 +58,7 @@ uname -m
5858

5959
- If your architecture is `x86_64` (Intel/AMD 64-bit):
6060

61-
- Install Java SE 8 (Oracle JDK 8): [https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html](https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html)
61+
- Install Java SE 8 (JDK 8, latest minor version recommended).
6262
- Verify:
6363
```bash
6464
java -version
@@ -67,7 +67,7 @@ uname -m
6767

6868
- If your architecture is `arm64` or `aarch64` (Apple Silicon / ARM servers):
6969

70-
- Install Java SE 17 (JDK 17): [https://www.oracle.com/java/technologies/downloads/#java17](https://www.oracle.com/java/technologies/downloads/#java17)
70+
- Install Java SE 17 (JDK 17).
7171
- Verify:
7272
```bash
7373
java -version

docs/using_javatron/private_network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This document will guide you through setting up a basic TRON private network. Th
55

66
Before you begin, please ensure your development environment meets the following requirements:
77

8-
- **Java Development Kit (JDK)**: On x86_64 architecture, Oracle JDK 8 must be installed; on arm64 architecture, JDK 17 must be installed.
8+
- **Java Development Kit (JDK)**: On x86_64 architecture, JDK 8 (latest minor version recommended) must be installed; on arm64 architecture, JDK 17 must be installed.
99
- **TRON Accounts**: You need to create at least two TRON network addresses in advance and securely store the addresses and their corresponding private keys. One address will serve as the initial SR node (Block Production), and the other will be a regular account.
1010
- **Address Creation Tools**: You can use any of the following tools to generate and manage your TRON accounts:
1111
- [Wallet-cli](https://github.com/tronprotocol/wallet-cli): An official command-line wallet tool, suitable for server environments.

0 commit comments

Comments
 (0)