diff --git a/deliveries/docker/apache-ignite/run.sh b/deliveries/docker/apache-ignite/run.sh index bacb588325c9af..1e10c1585d102f 100755 --- a/deliveries/docker/apache-ignite/run.sh +++ b/deliveries/docker/apache-ignite/run.sh @@ -73,7 +73,7 @@ if [ -z "${JVM_OPTS}" ] ; then fi # -# Add Java extra option +# Add Java extra option # if [ "${version}" -eq 8 ] ; then JVM_OPTS="\ diff --git a/docs/_docs/includes/cpp-prerequisites.adoc b/docs/_docs/includes/cpp-prerequisites.adoc index dd8fdefd27e31a..cbb169f4a4ab2d 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, 11 or 17, Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17 +|JDK|Oracle JDK 11 or 17, Open JDK 11 or 17, IBM JDK 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 08bd943c910469..c9b2feeb51a319 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, 11 or 17, Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17 +|JDK |Oracle JDK 11 or 17, Open JDK 11 or 17, IBM JDK 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/prereqs.adoc b/docs/_docs/includes/prereqs.adoc index a39e30f738d803..6964c1d19c2f3c 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, 11 or 17 Open JDK 8, 11 or 17, IBM JDK 8, 11 or 17 +|JDK |Oracle JDK 11 or 17 Open JDK 11 or 17, IBM JDK 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, ARM64 diff --git a/docs/_docs/monitoring-metrics/new-metrics-system.adoc b/docs/_docs/monitoring-metrics/new-metrics-system.adoc index 5f2de5d21a54be..b914f59a454a3f 100644 --- a/docs/_docs/monitoring-metrics/new-metrics-system.adoc +++ b/docs/_docs/monitoring-metrics/new-metrics-system.adoc @@ -135,7 +135,7 @@ JVM_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${J ==== Understanding MBean's ObjectName -Every JMX Mbean has an https://docs.oracle.com/javase/8/docs/api/javax/management/ObjectName.html[ObjectName,window=_blank]. +Every JMX Mbean has an https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/ObjectName.html[ObjectName,window=_blank]. The ObjectName is used to identify the bean. The ObjectName consists of a domain and a list of key properties, and can be represented as a string as follows: diff --git a/docs/_docs/net-specific/net-cross-platform-support.adoc b/docs/_docs/net-specific/net-cross-platform-support.adoc index b343665f4234f7..abd05f5ea6b529 100644 --- a/docs/_docs/net-specific/net-cross-platform-support.adoc +++ b/docs/_docs/net-specific/net-cross-platform-support.adoc @@ -24,7 +24,7 @@ applications for Linux and macOS, as well as Windows. *Requirements:* * https://www.microsoft.com/net/download/[.NET Core SDK 2.0+, window=_blank] -* http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java 8+, window=_blank] (macOS requires JDK, otherwise JRE works) +* http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java 11+, window=_blank] (macOS requires JDK, otherwise JRE works) *Running Examples* https://ignite.apache.org/download.cgi#binaries[Binary distribution, window=_blank] includes .NET Core examples: @@ -48,10 +48,6 @@ If you changed the default location of Java, then specify the actual path using == Known Issues -*No Java runtime present, requesting install* - -Java `8u151` has a known bug on macOS: https://bugs.openjdk.java.net/browse/JDK-7131356[JDK-7131356, window=_blank]. Make sure to install `8u152` or later. - *Serializing delegates is not supported on this platform* .NET Core does not support delegate serialization, `System.MulticastDelegate.GetObjectData` diff --git a/docs/_docs/net-specific/net-troubleshooting.adoc b/docs/_docs/net-specific/net-troubleshooting.adoc index cc4617bf255265..01305be7a89768 100644 --- a/docs/_docs/net-specific/net-troubleshooting.adoc +++ b/docs/_docs/net-specific/net-troubleshooting.adoc @@ -72,8 +72,7 @@ so if you have x86 AND x64 JDK installed, it will work in any mode. The `126 ERROR_MOD_NOT_FOUND` code can occur due to missing dependencies: -* JDK 8 requires https://www.microsoft.com/en-us/download/details.aspx?id=14632[Microsoft Visual C{pp} 2010 Redistributable Package, window=_blank] -* Later JDK versions require https://www.microsoft.com/en-us/download/details.aspx?id=48145[Microsoft Visual C{pp} 2015 Redistributable Package, window=_blank] or later +* JDK require https://www.microsoft.com/en-us/download/details.aspx?id=48145[Microsoft Visual C{pp} 2015 Redistributable Package, window=_blank] or later === Java class is not found diff --git a/docs/_docs/quick-start/java.adoc b/docs/_docs/quick-start/java.adoc index 4dbcf6fcc40c2b..fbea06636da6db 100644 --- a/docs/_docs/quick-start/java.adoc +++ b/docs/_docs/quick-start/java.adoc @@ -22,7 +22,7 @@ Ignite was officially tested on: include::includes/prereqs.adoc[] -If you use Java version 11 or later, see <> for details. +See <> for additional JVM parameters. == Installing Ignite @@ -136,7 +136,7 @@ public class HelloWorld { ==== Don't forget to add imports for HelloWorld.java. It should be trivial as long as Maven solves all of the dependencies. -Plus, you might need to add these settings to your pom.xml if the IDE keeps using Java compiler from a version earlier than 1.8: +Plus, you might need to add these settings to your pom.xml if the IDE keeps using Java compiler from a version earlier than 11: [source,xml] ---- @@ -145,8 +145,8 @@ Plus, you might need to add these settings to your pom.xml if the IDE keeps usin org.apache.maven.plugins maven-compiler-plugin - 1.8 - 1.8 + 11 + 11 diff --git a/docs/_docs/restapi.adoc b/docs/_docs/restapi.adoc index 4db745b6eaeca5..0409ed212231c7 100644 --- a/docs/_docs/restapi.adoc +++ b/docs/_docs/restapi.adoc @@ -199,21 +199,21 @@ of the argument. The REST API supports both <> and <>. |`date` |`java.sql.Date` -The date value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html#valueOf-java.lang.String-[Java documentation ,window=_blank] +The date value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Date.html#valueOf(java.lang.String)[Java documentation ,window=_blank] Example: 2018-01-01 |`time` |`java.sql.Time` -The time value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html#valueOf-java.lang.String-[Java documentation ,window=_blank] +The time value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Date.html#valueOf(java.lang.String)[Java documentation ,window=_blank] Example: 01:01:01 |`timestamp` |`java.sql.Timestamp` -The timestamp value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html#valueOf-java.lang.String-[Java documentation ,window=_blank] +The timestamp value should be in the format as specified in the `valueOf(String)` method in the link:https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Date.html#valueOf(java.lang.String)[Java documentation ,window=_blank] Example: 2018-02-18%2001:01:01 @@ -2947,4 +2947,4 @@ Returns HTTP Status code 200 if kernal has started, and 503 otherwise "response": "grid has started", "successStatus": 0 } ----- \ No newline at end of file +---- diff --git a/docs/_docs/security/sandbox.adoc b/docs/_docs/security/sandbox.adoc index 03a5632ce43478..86aa0c00b3893e 100644 --- a/docs/_docs/security/sandbox.adoc +++ b/docs/_docs/security/sandbox.adoc @@ -29,7 +29,7 @@ The activation of Ignite Sandbox involves the configuration of an `SecurityManag === Install SecurityManager Due to the fact, that Ignite Sandbox is based on the Java Sandbox model, and -link:https://docs.oracle.com/javase/8/docs/technotes/guides/security/spec/security-spec.doc6.html#a19349[SecurityManager,window=_blank] +link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/SecurityManager.html[SecurityManager,window=_blank] is an important part of that model, you need to have it installed. The SecurityManager is responsible for checking, which security policy is currently in effect. It also performs access control checks. The security manager is not automatically installed when an application is running. If you run Ignite as a separate application, diff --git a/docs/_docs/security/tde.adoc b/docs/_docs/security/tde.adoc index 5d060c062f5374..5cd1ca7bbba710 100644 --- a/docs/_docs/security/tde.adoc +++ b/docs/_docs/security/tde.adoc @@ -109,9 +109,9 @@ A keystore with a master key can be created using `keytool` as follows: [source,shell] ---- user:~/tmp:[]$ java -version -java version "1.8.0_161" -Java(TM) SE Runtime Environment (build 1.8.0_161-b12) -Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) +openjdk version "11.0.24" 2024-07-16 +OpenJDK Runtime Environment Temurin-11.0.24+8 (build 11.0.24+8) +OpenJDK 64-Bit Server VM Temurin-11.0.24+8 (build 11.0.24+8, mixed mode) user:~/tmp:[]$ keytool -genseckey \ -alias ignite.master.key \ @@ -128,11 +128,11 @@ user:~/tmp:[]$ keytool \ -list Keystore type: PKCS12 -Keystore provider: SunJSSE +Keystore provider: SUN Your keystore contains 1 entry -ignite.master.key, 07.11.2018, SecretKeyEntry, +ignite.master.key, 07.08.2024, SecretKeyEntry, ---- == Source Code Example diff --git a/docs/_docs/tools/control-script.adoc b/docs/_docs/tools/control-script.adoc index 904afb22333d0b..ff2ad0988bc1fa 100644 --- a/docs/_docs/tools/control-script.adoc +++ b/docs/_docs/tools/control-script.adoc @@ -51,8 +51,8 @@ If you want to connect to a node that is running on a remove machine, specify th | --password PASSWORD |The user password. | | --ping-interval PING_INTERVAL | The ping interval. | 5000 | --ping-timeout PING_TIMEOUT | Ping response timeout. | 30000 -| --ssl-protocol PROTOCOL1, PROTOCOL2... | A list of SSL protocols to try when connecting to the cluster. link:https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SunJSSE_Protocols[Supported protocols,window=_blank]. | `TLS` -| --ssl-cipher-suites CIPHER1,CIPHER2... | A list of SSL ciphers. link:https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SupportedCipherSuites[Supported ciphers,window=_blank]. | +| --ssl-protocol PROTOCOL1, PROTOCOL2... | A list of SSL protocols to try when connecting to the cluster. link:https://docs.oracle.com/en/java/javase/11/security/java-security-overview1.html#GUID-FCF419A7-B856-46DD-A36F-C6F88F9AF37F[Supported protocols,window=_blank]. | `TLS` +| --ssl-cipher-suites CIPHER1,CIPHER2... | A list of SSL ciphers. link:https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#jsse-cipher-suite-names[Supported ciphers,window=_blank]. | | --ssl-key-algorithm ALG | The SSL key algorithm. | `SunX509` | --keystore-type KEYSTORE_TYPE | The keystore type. | `JKS` | --keystore KEYSTORE_PATH | The path to the keystore. Specify a keystore to enable SSL for the control script.| diff --git a/examples/README.md b/examples/README.md index 2aef28e60d36fe..fb560302c879a5 100644 --- a/examples/README.md +++ b/examples/README.md @@ -6,8 +6,8 @@ Instructions on how to start examples can be found in [README.txt](README.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://ignite.apache.org/docs/latest/setup#running-ignite-with-java-11-or-later) +## Running examples +Ignite uses proprietary SDK APIs that are not available by default. See also [How to run Ignite](https://ignite.apache.org/docs/latest/setup#running-ignite-with-java-11-or-later) To set up local IDE to easier access to examples, it is possible to add following options as default for all applications diff --git a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinConnectionSSLTest.java b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinConnectionSSLTest.java index ad422a3b93fd11..761d4744b8f7d4 100644 --- a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinConnectionSSLTest.java +++ b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinConnectionSSLTest.java @@ -332,9 +332,7 @@ public void testCustomCiphersOnServer() throws Exception { * @throws Exception If failed. * * Note: Disabled cipher suite can be enabled via Java Security property "jdk.tls.disabledAlgorithms" or in - * <JRE_8_HOME>/lib/security/java.security file. - * - * Note: java.security file location may be changed for Java 9+ version + * <JAVA_HOME>/conf/security/java.security file. */ @Test public void testDisabledCustomCipher() throws Exception { @@ -373,9 +371,7 @@ public void testDisabledCustomCipher() throws Exception { * @throws Exception If failed. * * Note: Disabled cipher suite can be enabled via Java Security property "jdk.tls.disabledAlgorithms" or in - * <JRE_8_HOME>/lib/security/java.security file. - * - * Note: java.security file location may be changed for Java 9+ version + * <JAVA_HOME>/conf/security/java.security file. */ @Test public void testUnsupportedCustomCipher() throws Exception { diff --git a/modules/numa-allocator/README.md b/modules/numa-allocator/README.md index 89abbc4e13fcf2..5d5937a25088be 100644 --- a/modules/numa-allocator/README.md +++ b/modules/numa-allocator/README.md @@ -17,11 +17,11 @@ $ sudo apt install numactl 1. `RHEL` or `Cent OS` ```bash $ sudo yum groupinstall 'Development Tools' -$ sudo yum install java-1.8.0-openjdk numactl-devel libstdc++-static +$ sudo yum install java-11-openjdk numactl-devel libstdc++-static ``` 2. `Ubuntu` or `Debian` ```bash -$ sudo apt install build-essential libnuma-dev openjdk-8-jdk +$ sudo apt install build-essential libnuma-dev openjdk-11-jdk ``` ## Usage ### Simple allocation strategy diff --git a/modules/platforms/dotnet/examples/README.md b/modules/platforms/dotnet/examples/README.md index 394cb10275f895..3d25a6335c7eea 100644 --- a/modules/platforms/dotnet/examples/README.md +++ b/modules/platforms/dotnet/examples/README.md @@ -7,7 +7,7 @@ # Requirements * [.NET 6 SDK](https://dotnet.microsoft.com/download/dotnet-core) -* [JDK 8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) or [JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) +* [JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) Windows, Linux, and macOS are supported. diff --git a/packaging/rpm/apache-ignite.spec b/packaging/rpm/apache-ignite.spec index 4d854aa21a5daf..9288fe972c1185 100644 --- a/packaging/rpm/apache-ignite.spec +++ b/packaging/rpm/apache-ignite.spec @@ -45,7 +45,7 @@ in-memory speeds at petabyte scale # # Preinstall scripts # $1 can be: -# 1 - Initial install +# 1 - Initial install # 2 - Upgrade # diff --git a/parent/pom.xml b/parent/pom.xml index 3a6b8ad7b3eacb..d6870436059884 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -671,7 +671,7 @@ validate ignite.buildNumber - + yywwu