blob: a94686cfa8d043b61e474b6a99293aaca89cd8bf [file]
Your Ignite installation includes additional examples. These examples are shipped together with the primary Ignite package you downloaded as part of the Ignite installation above.
To run the examples project please follow these steps (which are provided for IntelliJ IDEA IDE, but should apply to similar IDEs such as Eclipse):
. Start IntelliJ IDEA, click the "Import Project" button:
+
image::images/ijimport.png[Importing a Project in IntelliJ]
. Navigate to the `{IGNITE_HOME}/examples` folder and select the `{IGNITE}/examples/pom.xml` file. Click "OK".
. Click "Next" on each of the following screens and apply the suggested defaults to the project. Click "Finish".
. Wait while IntelliJ IDEA finishes setting up Maven, resolving dependencies, and loading modules.
. Set up JDK if needed.
. Run `src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample`:
+
image::images/ijrun.png[Run a project in IntelliJ]
+
. Make sure that the example has been started and executed successfully, as shown in the image below.
+
image::images/ijfull.png[Project in IntelliJ]