You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/01/30 19:16:28 UTC

[ignite] branch ignite-11140 updated: IGNITE-11140 More docs were added

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11140
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-11140 by this push:
     new 661035e  IGNITE-11140 More docs were added
661035e is described below

commit 661035eee744d6ba53a0ff4b52851b1982802c7d
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed Jan 30 22:16:19 2019 +0300

    IGNITE-11140 More docs were added
---
 examples/README.md | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/examples/README.md b/examples/README.md
index 65bdfa7..6357bf9 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -1,10 +1,28 @@
 # Apache Ignite Examples
 
-This module contains examples how to run Apache Ignite and Apache Ignite with 3rd party components.
+This module contains examples of how to run [Apache Ignite](ignite.apache.org) and [Apache Ignite](ignite.apache.org) with 3rd party components.
 
-How to start examples instructions can be found in [README.txt](README.txt).
+Instructions on how to start examples can be found in [README.txt](README.txt).
 
-How to start examples in developer's environment please see [DEVNOTES.txt](DEVNOTES.txt).
+How to start examples in the developer's environment, please see [DEVNOTES.txt](DEVNOTES.txt).
+
+## Running examples on JDK 9/10/11
+Ignite uses proprietary SDK APIs that are not available by default. See also [How to run Ignite on JDK 9,10 and 11](https://apacheignite.readme.io/docs/getting-started#section-running-ignite-with-java-9-10-11)
+
+To set up local IDE to easier access to examples, it is possible to add following options as default for all applications
+
+``--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
+   --add-exports=java.base/sun.nio.ch=ALL-UNNAMED
+   --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
+   --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
+   --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
+   --illegal-access=permit``
+
+For example, for IntelliJ IDEA it is possible to use Application Templates.
+
+Use 'Run' -> 'Edit Configuration' menu.
+
+<img src="https://docs.google.com/drawings/d/e/2PACX-1vQFgjhrPsLPUmic8CA_s1YpjVwA2vQITxNsLrAKOecZxIQEZSb1Ps2XKh0QEn8z9vtYiUofnGek_cag/pub?w=960&h=720"/>
 
 ## Contributing to Examples
 *Notice* When updating classpath of examples and in case any modifications required in [pom.xml](pom.xml)