Getting set up for CorDapp development
There are four pieces of required software for CorDapp development: the Java 8 JDK, IntelliJ IDEA, Git, and Gradle.
Installing the Java 8 JDK
Install the Java 8 JDK. Corda requires at least version 8u171, but do not currently support Java 9 or higher for this version of Corda.
Corda has been tested against the following Java builds:
If you are using Windows, you must also add Java to the PATH environment variable by following the instructions in the Oracle documentation.
Installing the IntelliJ IDEA
IntelliJ is an IDE that offers strong support for Kotlin and Java development.
Install the IntelliJ IDEA Community Edition. Corda supports IntelliJ IDEA versions 2017.x, 2018.x, and 2019.x; and Kotlin plugin version 1.2.71.
To install IntelliJ IDEA in a Ubuntu environment, navigate to the Jetbrains IntelliJ snap package.
We use Git to host our sample CorDapp and provide version control.
To install Git, navigate to Git and install your preferred version, depending on your OS.
If you intend to proceed directly to run an example CorDapp, as described in
Running an example CorDapp, the included
gradlew script should install Gradle automatically when you open the sample CorDapp in IntelliJ.
If you’d prefer to install Gradle manually, navigate to Gradle and locate and install Gradle version 5.4.1. Corda requires Gradle version 5.4.1, and does not support any other version of Gradle.
First, run the example CorDapp.
Next, read through the Corda Key Concepts to understand how Corda works.