Skip to content

Setting up IntelliJ IDEA

Nikolaos Papailiou edited this page Jul 16, 2018 · 3 revisions

TileDB-Java uses gradle as a build tool. IntelliJ IDEA is a powerful IDE that can be used to write and test Java code. IntelliJ also supports gradle projects.

The purpose of this guide is to show how to set up IntelliJ for TileDB-Java:

  1. Download IntelliJ
  2. Clone TileDB-Java using git clone https://github.com/TileDB-Inc/TileDB-Java.git
  3. If no project is currently opened in IntelliJ IDEA, click Import Project on the welcome screen. Otherwise, select File | New | Project from Existing Sources from the main menu. Note that you can also select File | Open from the main menu and choose the build.gradle file found inside TileDB-Java directory.
  4. In the dialog that opens, make sure that the directory points to TileDB-Java and the JVM is >=1.8 and click OK.
  5. In the next dialog gradle should show you the project modules (tiledb-java, :java-api). Tick both and click OK.

At this point you should be able to browse and modify TileDB-Java from your IntelliJ.

Please follow our build instructions to run and test the code.

Clone this wiki locally