diff options
author | Hossein <hossein@libreoffice.org> | 2022-06-09 15:48:11 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-06-10 08:21:57 +0200 |
commit | d0e50ba13b545ab00dfb02a445eeb93011ff4af8 (patch) | |
tree | cf098c9fd3b00c4d0087d3d3a40609980126ce1d /README.md | |
parent | 317dc8569723d434fe4175a2b665b84fd15f6f99 (diff) |
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>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md index dcc33988f293..d2effbb58576 100644 --- a/README.md +++ b/README.md @@ -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 |