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 4.10.

  1. Install the Java 8 JDK, version 8u171. We have tested using the following Java builds:

Please note: OpenJDK builds often exclude JavaFX, which is required by the Corda GUI tools. Corda supports only Java 8.

If you are using Windows: Add Java to the PATH environment variable by following the instructions in the Oracle documentation.

  1. Install 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.
  1. Install git.
  2. Install Gradle version 4.10. If you are using a supported Corda sample, the included gradlew script should install Gradle automatically.
Please note: Corda requires Gradle version 4.10, and does not support any other version of Gradle.

Next steps

First, run the example CorDapp.

Next, read through the Corda Key Concepts to understand how Corda works.

By then, you’ll be ready to start writing your own CorDapps. You may want to refer to the API documentation, the flow cookbook and the samples along the way.

If you encounter any issues, please ask on Stack Overflow or via our Slack channels.