Java Support Strategy
Last modified by Vincent Massol on 2023/11/08 14:42
There are lots of Java versions out there and supporting all of them is just too hard to be done in a quality manner. Thus we only support a subset.
By "supported versions" we mean:
- XWiki runs fine on that Java version.
- Issues created for these versions of Java in JIRA are not closed as won't fix and we make a best effort to fix them.
- We include these versions in our tests (be them automated or manual).
Supported Java Versions
- Always support the current Java LTS as defined by Oracle. Specifically this means working actively to make XWiki work on it as soon as it’s available.
- e.g. in November 2023, the current Java LTS is Java 21.
- Keep supporting the previous LTS of Java too.
- e.g. in November 2023, the previous LTS is Java 17.
Notes:
- Java LTS cycle are every 3 years so that seems a good cadence for us to move Java source versions too.
- We support the previous LTS since we want to be "business"-friendly and know that businesses take some time to upgrade.
By XWiki Versions
XWiki Versions | Java Version supported | Source Level |
---|---|---|
XWiki < 6.0 | Java 6 | Java 6 |
XWiki < 8.1 | Java 7 | Java 7 |
XWiki < 11.3 | Java 8 | Java 8 |
XWiki >= 11.3 | Java 8 & Java 11 | Java 8 |
XWiki >= 14.0 & < 15.3 | Java 11 | Java 11 |
XWiki >= 14.10.9/15.3 | Java 11 & Java 1712 | Java 11 |