Building Corda

These instructions are for downloading and building the Corda code locally. If you only wish to develop CorDapps for use on Corda, you don’t need to do this, follow the instructions at Getting set up for CorDapp development and use the precompiled binaries.

  • Visit https://git-scm.com/download/win
  • Click the “64-bit Git for Windows Setup” download link.
  • Download and run the executable to install Git (use the default installation values) and make a note of the installation directory.
  • Open a new command prompt and type git --version to test that Git is installed correctly
  • Open a command prompt
  • Run git clone https://github.com/corda/corda.git
  • Run gradlew build

These instructions were tested on Ubuntu Server 18.04 LTS. This distribution includes git and python so only the following steps are required:

  • Run sudo add-apt-repository ppa:webupd8team/java from the terminal. Press ENTER when prompted.
  • Run sudo apt-get update
  • Then run sudo apt-get install oracle-java8-installer. Press Y when prompted and agree to the licence terms.
  • Run java --version to verify that java is installed correctly
  • Open the terminal
  • Run git clone https://github.com/corda/corda.git
  • Run ./gradlew build

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.