Skip to content

Commit

Permalink
IGNITE-22997 Remove mention of Java 1.8 from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timoninmaxim committed Aug 15, 2024
1 parent edb32fa commit ed0bc01
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 41 deletions.
2 changes: 1 addition & 1 deletion deliveries/docker/apache-ignite/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="\
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/includes/cpp-prerequisites.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/includes/dotnet-prerequisites.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
|===
2 changes: 1 addition & 1 deletion docs/_docs/includes/prereqs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/monitoring-metrics/new-metrics-system.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 1 addition & 5 deletions docs/_docs/net-specific/net-cross-platform-support.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`
Expand Down
3 changes: 1 addition & 2 deletions docs/_docs/net-specific/net-troubleshooting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions docs/_docs/quick-start/java.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ignite was officially tested on:

include::includes/prereqs.adoc[]

If you use Java version 11 or later, see <<Running Ignite with Java 11 or later>> for details.
See <<Running Ignite with Java 11 or later>> for additional JVM parameters.

== Installing Ignite

Expand Down Expand Up @@ -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]
----
<build>
Expand All @@ -145,8 +145,8 @@ Plus, you might need to add these settings to your pom.xml if the IDE keeps usin
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
Expand Down
8 changes: 4 additions & 4 deletions docs/_docs/restapi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -199,21 +199,21 @@ of the argument. The REST API supports both <<Java Types>> and <<Custom Types>>.
|`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

Expand Down Expand Up @@ -2947,4 +2947,4 @@ Returns HTTP Status code 200 if kernal has started, and 503 otherwise
"response": "grid has started",
"successStatus": 0
}
----
----
2 changes: 1 addition & 1 deletion docs/_docs/security/sandbox.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions docs/_docs/security/tde.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/_docs/tools/control-script.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.|
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
* &lt;JRE_8_HOME&gt;/lib/security/java.security file.
*
* Note: java.security file location may be changed for Java 9+ version
* &lt;JAVA_HOME&gt;/conf/security/java.security file.
*/
@Test
public void testDisabledCustomCipher() throws Exception {
Expand Down Expand Up @@ -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
* &lt;JRE_8_HOME&gt;/lib/security/java.security file.
*
* Note: java.security file location may be changed for Java 9+ version
* &lt;JAVA_HOME&gt;/conf/security/java.security file.
*/
@Test
public void testUnsupportedCustomCipher() throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions modules/numa-allocator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/platforms/dotnet/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion packaging/rpm/apache-ignite.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ in-memory speeds at petabyte scale
#
# Preinstall scripts
# $1 can be:
# 1 - Initial install
# 1 - Initial install
# 2 - Upgrade
#

Expand Down
2 changes: 1 addition & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
<phase>validate</phase>
<configuration>
<name>ignite.buildNumber</name>
<!-- See: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html -->
<!-- See: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html -->
<pattern>yywwu</pattern>
</configuration>
</execution>
Expand Down

0 comments on commit ed0bc01

Please sign in to comment.