Time to read: 1 min
完全なドキュメント索引については llms.txt
How to compile and run an RSKj node on Linux
Here you have the steps to compile and run an Rootstock node on Linux.
Pre-requisites
First of all, you will need to install:
| Dependency | Details |
|---|---|
| Git for Linux | Download this Git command line tool |
| Java 17 JDK | Follow the steps to install Java. To check if installation went correctly, check the version with command: java-version. Then, as admin, modify /etc/enviroment adding the correct JAVA_HOME |
Recommended IDEs:
Important
Starting with v6.4.0, the minimum supported Java LTS version is Java 17. Previous Java versions will no longer be supported.
Get the source code
Using the installed command-line tool Git, you need to retrieve (or clone) the RSKj Github source code from here.
Run these commands in the terminal:
git clone --recursive https://github.com/rsksmart/rskj.git
cd rskj
git checkout tags/LOVELL-7.0.0 -b LOVELL-7.0.0
Note: It is better to download the code into a short path.
Ensure the security chain
Ensure the security chain of the downloaded source code.
Get external dependencies
Before you can launch IntelliJ IDEA, there is an important step.
Browse in your RSKj cloned directory and then launch configure.sh with the following terminal command:
./configure.sh
This will download and set important components (e.g. Gradle Wrapper).