After fulfilling the steps Pre-requisites, Get the source code, Ensure the security chain and Get external dependencies according to your operating system (Windows, Linux, Mac), you can compile and run an RSK node from command line following this steps.
From the root directory where the code was downloaded execute:
./gradlew build -x test
and after building run:
java -cp [jar] co.rsk.Start
Replace:
rskj-core/build/libs/rskj-core-{version}-all.jar
.It’s ready! You’re joined to MainNet by default. If you want to switch the network, read this page.