[jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776225#comment-16776225 ]

Jacques Le Roux commented on OFBIZ-10757:
-----------------------------------------

OK my tone was maybe a bit harsh, sorry for that. I must say, I passed some time to find a solution for being able to quickly switch from a Java version to another (at the moment from 8 to 11 and vice versa). I have now a simple solution and will hopefully find the time to explain it on the wiki, maybe it will be helpful for others and in demo.

I have completely switched to [adoptopenjdk|https://adoptopenjdk.net/releases.html] which has still some undesirable effects on Windows but nothing unsurpassable and anyway not related to OFBiz.

I also switched from Eclipse 4.8 (2018-9) to Eclipse 4.10 (2018-12) to be able to use Java 11 compliance. Unlike my experience for last 5 years with Eclipse it was not an enjoyable time (false hope of updating directly). All work now and that's the most important.

Anyway Deepak's proposed changes are not a problem under Java 8, so, as a 1st step, I'll commit them in few days if nobody is against.

Now the question is should we not switch to Java 11 right now, for R17 and R18 as well? We know in April Oracle will begin its new commercial politic and it's better to anticipate and switch to adoptopenjdk, if we all agree about this choice. I have not tested much yet but it seems to work well, using Java  8 or 11. Being used by committers and on demo would be helpful to confirm before we release R17. I may have missed some points, some bear me and let's discuss it, better on dev ML...

> Upgrade OFBiz to use Java JDK Version 11
> ----------------------------------------
>
>                 Key: OFBIZ-10757
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10757
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Taher Alkhateeb
>            Priority: Minor
>         Attachments: OFBIZ-10757-framework.patch, OFBIZ-10757-plugins.patch
>
>
> To implement as per [Discussion Thread|https://lists.apache.org/thread.html/71b8c1048f1dd4c5b3f104233c9af7b2cbc690863fe35b08ef91fcf5@%3Cdev.ofbiz.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)