|
5 | 5 | * JDK 1.8 (JDK 1.9+ are not supported yet)
|
6 | 6 | * On Linux Ubuntu system (e.g. Ubuntu 16.04.4 LTS), ensure that the machine has [__Oracle JDK 8__](https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04), instead of having __Open JDK 8__ in the system. If you are building the source code by using __Open JDK 8__, you will get [__Build Failed__](https://github.com/tronprotocol/java-tron/issues/337) result.
|
7 | 7 | * Open **UDP** ports for connection to the network
|
8 |
| -* **MINIMUM** 2 ENERGY Cores |
| 8 | +* **MINIMUM** 2 CPU Cores |
9 | 9 |
|
10 | 10 | ## Build and Deploy automatically using scripts
|
11 | 11 |
|
12 | 12 | - Please take a look at the [Tron Deployment Scripts](https://github.com/tronprotocol/TronDeployment) repository.
|
13 | 13 |
|
14 | 14 | ## Getting the code with git
|
15 | 15 |
|
16 |
| -* Use Git from the Terminal, see the [Setting up Git](https://help.github.com/articles/set-up-git/) and [Fork a Repo](https://help.github.com/articles/fork-a-repo/) articles. |
| 16 | +* Use Git from the console, see the [Setting up Git](https://help.github.com/articles/set-up-git/) and [Fork a Repo](https://help.github.com/articles/fork-a-repo/) articles. |
17 | 17 | * develop branch: the newest code
|
18 | 18 | * master branch: more stable than develop.
|
19 | 19 | In the shell command, type:
|
@@ -64,21 +64,21 @@ dependencies {
|
64 | 64 |
|
65 | 65 | ## Building from source code
|
66 | 66 |
|
67 |
| -* Build in the Terminal |
| 67 | +* Building using the console: |
68 | 68 |
|
69 | 69 | ```bash
|
70 | 70 | cd java-tron
|
71 | 71 | ./gradlew build
|
72 | 72 | ```
|
73 | 73 |
|
74 | 74 |
|
75 |
| -* Build in [IntelliJ IDEA](https://www.jetbrains.com/idea/) (community version is enough): |
| 75 | +* Building using [IntelliJ IDEA](https://www.jetbrains.com/idea/) (community version is enough): |
76 | 76 |
|
77 | 77 | **Please run ./gradlew build once to build the protocol files**
|
78 | 78 |
|
79 | 79 | 1. Start IntelliJ. Select `File` -> `Open`, then locate to the java-tron folder which you have git cloned to your local drive. Then click `Open` button on the right bottom.
|
80 | 80 | 2. Check on `Use auto-import` on the `Import Project from Gradle` dialog. Select JDK 1.8 in the `Gradle JVM` option. Then click `OK`.
|
81 |
| - 3. IntelliJ will open the project and start gradle syncing, which will take several minutes, depending on your network connection and your IntelliJ configuration |
| 81 | + 3. IntelliJ will import the project and start gradle syncing, which will take several minutes, depending on your network connection and your IntelliJ configuration |
82 | 82 | 4. Enable Annotations, `Preferences` -> Search `annotations` -> check `Enable Annotation Processing`.
|
83 |
| - 5. After the syncing finished, select `Gradle` -> `Tasks` -> `build`, and then double click `build` option. |
84 |
| - |
| 83 | + 5. When the syncing finishes, select `Gradle` -> `Tasks` -> `build`, and then double click `build` option. |
| 84 | + |
0 commit comments