Add information on Java baseline in README.md

As discussed in the ESC, although LibreOffice can be built with the
Java Development Kit (JDK) version 9, the JDK 9 is no longer
supported by the JVM vendors including Oracle, Red Hat and others.
Thus, it is asserted here that JDK 11 or later should be used to build
LibreOffice.

For further information on the supported versions of JDK, and its
lifcycle, see these articles:

Oracle Java SE Support Roadmap (Updated March 22, 2022)
https://www.oracle.com/java/technologies/java-se-support-roadmap.html

OpenJDK Life Cycle and Support Policy (Updated November 22 2021)
https://access.redhat.com/articles/1299013

It should be noted that JDK 8 is still supported, but it is not usable
for building LibreOffice.

It is also documented that without Java one may lose many features that
are described in the TDF wiki article Development/Java:
https://wiki.documentfoundation.org/Development/Java

Change-Id: Id001c341a221b0fe5c07c7129956a824261d32c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135557
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
This commit is contained in:
Hossein 2022-06-09 15:48:11 +02:00 committed by Adolfo Jayme Barrientos
parent 317dc85697
commit d0e50ba13b

View file

@ -53,6 +53,14 @@ run and compile LibreOffice, also used by the TDF builds:
* Build: Qt 5.15 with Qt supported Emscripten 1.39.8
* See [README.wasm](static/README.wasm.md)
Java is required for building many parts of LibreOffice. In TDF Wiki article
[Development/Java](https://wiki.documentfoundation.org/Development/Java), the
exact modules that depend on Java are listed.
The baseline for Java is Java Development Kit (JDK) Version 11 or later. It is
possible to build LibreOffice with JDK version 9, but it is no longer supported
by the JDK vendors, thus it should be avoided.
If you want to use Clang with the LibreOffice compiler plugins, the minimal
version of Clang is 12.0.1. Since Xcode doesn't provide the compiler plugin
headers, you have to compile your own Clang to use them on macOS.
@ -64,7 +72,7 @@ the LibreOffice Development Environment
([LODE](https://wiki.documentfoundation.org/Development/lode)) scripts.
For more information see the build instructions for your platform in the
[TDF wiki](https://wiki.documentfoundation.org/Development).
[TDF wiki](https://wiki.documentfoundation.org/Development/How_to_build).
## The Important Bits of Code