IGNITE-17386 Add info about Java 17 support to docs (#10161)
diff --git a/docs/_docs/includes/cpp-prerequisites.adoc b/docs/_docs/includes/cpp-prerequisites.adoc
index 464431c..dd8fdef 100644
--- a/docs/_docs/includes/cpp-prerequisites.adoc
+++ b/docs/_docs/includes/cpp-prerequisites.adoc
@@ -14,7 +14,7 @@
// limitations under the License.
[width="100%",cols="1,3"]
|===
-|JDK|Oracle JDK 8 or 11, Open JDK 8 or 11, IBM JDK 8 or 11
+|JDK|Oracle JDK 8, 11 or 17, Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17
|OS|Windows Vista, Windows Server 2008 and later versions, Ubuntu (18.04 64 bit)
|Network|No restrictions (10G recommended)
|Hardware|No restrictions
diff --git a/docs/_docs/includes/dotnet-prerequisites.adoc b/docs/_docs/includes/dotnet-prerequisites.adoc
index 02c4ea9..08bd943 100644
--- a/docs/_docs/includes/dotnet-prerequisites.adoc
+++ b/docs/_docs/includes/dotnet-prerequisites.adoc
@@ -14,7 +14,7 @@
// limitations under the License.
[width="100%",cols="1,3"]
|===
-|JDK |Oracle JDK 8 or 11, Open JDK 8 or 11, IBM JDK 8 or 11
+|JDK |Oracle JDK 8, 11 or 17, Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17
|.NET Framework |.NET 4.0+, .NET Core 2.0+
//|IDE |Visual Studio 2010+, Rider, Visual Studio Code
|===
diff --git a/docs/_docs/includes/java9.adoc b/docs/_docs/includes/java9.adoc
index 43dee8c..8fc3ad9 100644
--- a/docs/_docs/includes/java9.adoc
+++ b/docs/_docs/includes/java9.adoc
@@ -12,7 +12,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-To run Ignite with Java 11, follow these steps:
+
+To run Ignite with Java 11 or later, follow these steps:
1. Set the `JAVA_HOME` environment variable to point to the Java installation
directory.
@@ -23,6 +24,9 @@
Otherwise, provide the following parameters to the JVM of your
application:
+
+[tabs]
+--
+tab:Java 11[]
[source,shell]
----
--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
@@ -34,5 +38,18 @@
--illegal-access=permit
----
-
-
+tab:Java 17[]
+[source,shell]
+----
+--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED \
+--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \
+--add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
+--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
+--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
+--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
+--add-opens=java.base/java.io=ALL-UNNAMED \
+--add-opens=java.base/java.nio=ALL-UNNAMED \
+--add-opens=java.base/java.util=ALL-UNNAMED \
+--add-opens=java.base/java.lang=ALL-UNNAMED
+----
+--
diff --git a/docs/_docs/includes/prereqs.adoc b/docs/_docs/includes/prereqs.adoc
index 11e3355..661f287 100644
--- a/docs/_docs/includes/prereqs.adoc
+++ b/docs/_docs/includes/prereqs.adoc
@@ -14,7 +14,7 @@
// limitations under the License.
[width="100%",cols="1,3"]
|===
-|JDK |Oracle JDK 8 or 11, Open JDK 8 or 11, IBM JDK 8 or 11
+|JDK |Oracle JDK 8, 11 or 17 Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17
|OS |Linux (any flavor), Mac OSX (10.6 and up), Windows (XP and up),
Windows Server (2008 and up), Oracle Solaris
|ISA |x86, x64, SPARC, PowerPC
diff --git a/docs/_docs/quick-start/java.adoc b/docs/_docs/quick-start/java.adoc
index 4d2c469..4dbcf6f 100644
--- a/docs/_docs/quick-start/java.adoc
+++ b/docs/_docs/quick-start/java.adoc
@@ -22,7 +22,7 @@
include::includes/prereqs.adoc[]
-If you use Java version 11 or later, see <<Running Ignite with Java 11>> for details.
+If you use Java version 11 or later, see <<Running Ignite with Java 11 or later>> for details.
== Installing Ignite
@@ -165,7 +165,7 @@
include::includes/exampleprojects.adoc[]
-== Running Ignite with Java 11
+== Running Ignite with Java 11 or later
include::includes/java9.adoc[]