# Support Oracle 19c + Java 11

**URL:** <https://forum.xwiki.org/t/support-oracle-19c-java-11/5928>\
**Category:** Development\
**Tags:** proposal\
**Created:** [December 3, 2019, 4:10pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928 "2019-12-03T16:10:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 3, 2019, 4:10pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/1 "2019-12-03T16:10:02Z")

</div>

Hi devs,

# Oracle

We’re currently supposed to support Oracle 12.x (I say supposed since our automated tests currently test on Oracle 11g but that’s an issue that we need to fix). I’m proposing that we stop supporting it officially and instead to officially support Oracle 19c since that’s the latest version of the Oracle Database (see [docker-images/OracleDatabase/SingleInstance at main · oracle/docker-images · GitHub](https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance)).

If we want to do more (i.e. support 2 versions - should we?) then we could also support Oracle 18c.

WDYT?

# Java

We’ve been testing XWiki on Java 11 for some time now and it seems to work fine. Since Java 11 is a LTS, I’m proposing that we move to support Java 11 as the main supported version (we should probably still test for Java8 too to make sure we don’t use pure Java 11 features in our sources).

So to make it clear:

- Minimal version: Java 8
- Supported versions: Java 8 & Java 11.

WDYT?

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [December 3, 2019, 4:15pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/2 "2019-12-03T16:15:59Z")

</div>

> [@vmassol](#):
>
> I’m proposing that we stop supporting it officially and instead to officially support Oracle 19c

do we have any feedback on running XWiki on Oracle 19c? On the paper I’m completely ok to say we support a more recent version, but it would send the wrong message to say we support it and then see that it means x weeks of full work to make XWiki working on it…

> [@vmassol](#):
>
> Supported versions: Java 8 & Java 11.

+1  
Side note, but I guess we might need to be clear that we mean the version used to run XWiki. Not the one used to develop / compile it.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 3, 2019, 4:21pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/3 "2019-12-03T16:21:05Z")

</div>

> [@vmassol](#):
>
> officially support Oracle 19c

+1, given the age of Oracle 11 the current situation is a bit ridiculous

> [@vmassol](#):
>
> stop supporting it

+0

> [@vmassol](#):
>
> support Java 11 as the main supported version

So that means recommending Java 11 and make it the default in the Debian package dependencies. We should also start using it everywhere (thinking about [myxwiki.org](http://myxwiki.org) for example).

> [@vmassol](#):
>
> Minimal version: Java 8

+1, too soon to move to Java 11 as minimum version IMO

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 3, 2019, 4:21pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/4 "2019-12-03T16:21:34Z")

</div>

> [@surli](#):
>
> do we have any feedback on running XWiki on Oracle 19c? On the paper I’m completely ok to say we support a more recent version, but it would send the wrong message to say we support it and then see that it means x weeks of full work to make XWiki working on it…

Yes that’s a good point. We should test it first in the unsupported section or with manual testing.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [December 3, 2019, 4:21pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/5 "2019-12-03T16:21:44Z")

</div>

> [@surli](#):
>
> do we have any feedback on running XWiki on Oracle 19c? On the paper I’m completely ok to say we support a more recent version, but it would send the wrong message to say we support it and then see that it means x weeks of full work to make XWiki working on it…

Having XWiki working on it is definitely a requirement yes.

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [December 5, 2019, 2:55pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/6 "2019-12-05T14:55:12Z")

</div>

> [@vmassol](#):
>
> We’re currently supposed to support Oracle 12.x (I say supposed since our automated tests currently test on Oracle 11g but that’s an issue that we need to fix).

Related to this, see a proposal to downgrade to Oracle 11 that wasn’t agreed: [https://markmail.org/message/umtsvlgbddmlxvri](https://markmail.org/message/umtsvlgbddmlxvri)

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [January 10, 2020, 5:05pm UTC](https://forum.xwiki.org/t/support-oracle-19c-java-11/5928/7 "2020-01-10T17:05:20Z")

</div>

Implementation for Oracle: [Loading...](https://jira.xwiki.org/browse/XWIKI-16966)
