[Discussion] Upgrading OFBiz to work with Java 11

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

[Discussion] Upgrading OFBiz to work with Java 11

taher
Hi Folks,

Now that we upgraded Gradle, I think we should consider moving to the
new LTS (JDK 11)? I tried to upgrade to java 11 and got lots of
issues. Some deprecated packages are removed and others changed
signature. I got 2 errors and about 53 warnings for things that should
be fixed.

Should we go ahead and attempt the upgrade? Anyone already went
through the effort and can help out?

Taher Alkhateeb
grv
Reply | Threaded
Open this post in threaded view
|

Re: [Discussion] Upgrading OFBiz to work with Java 11

grv
Hi Taher

I haven't tried upgrading myself but I'm in for this effort. I think it
only makes sense to do the upgrade. I'll also try Java 11 and see how it
goes.

Best,
Girish

On Wed, Dec 26, 2018 at 1:25 AM Taher Alkhateeb <[hidden email]>
wrote:

> Hi Folks,
>
> Now that we upgraded Gradle, I think we should consider moving to the
> new LTS (JDK 11)? I tried to upgrade to java 11 and got lots of
> issues. Some deprecated packages are removed and others changed
> signature. I got 2 errors and about 53 warnings for things that should
> be fixed.
>
> Should we go ahead and attempt the upgrade? Anyone already went
> through the effort and can help out?
>
> Taher Alkhateeb
>
Reply | Threaded
Open this post in threaded view
|

Re: [Discussion] Upgrading OFBiz to work with Java 11

Mathieu Lirzin
In reply to this post by taher
Hello,

Taher Alkhateeb <[hidden email]> writes:

> Now that we upgraded Gradle, I think we should consider moving to the
> new LTS (JDK 11)? I tried to upgrade to java 11 and got lots of
> issues. Some deprecated packages are removed and others changed
> signature. I got 2 errors and about 53 warnings for things that should
> be fixed.
>
> Should we go ahead and attempt the upgrade? Anyone already went
> through the effort and can help out?

I think the major challenge in that upgrade will be to handle the new
module system which has been added in Java 9.

For the record, OpenJDK 11 is still not available on the GNU/Linux
distro I am using. So upgrading it right now would make my life harder.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: [Discussion] Upgrading OFBiz to work with Java 11

Deepak Dixit-4
In reply to this post by grv
I tried to run ofbiz with JDK 11, with following entry in build.gradle I am
able to build and run ofbiz.


runtime 'javax.xml.soap:javax.xml.soap-api:1.4.0'



There are around 75 warnings (framework + plugins)



Thanks & Regards
--
Deepak Dixit



On Wed, Dec 26, 2018 at 10:48 AM Girish Vasmatkar <
[hidden email]> wrote:

> Hi Taher
>
> I haven't tried upgrading myself but I'm in for this effort. I think it
> only makes sense to do the upgrade. I'll also try Java 11 and see how it
> goes.
>
> Best,
> Girish
>
> On Wed, Dec 26, 2018 at 1:25 AM Taher Alkhateeb <
> [hidden email]>
> wrote:
>
> > Hi Folks,
> >
> > Now that we upgraded Gradle, I think we should consider moving to the
> > new LTS (JDK 11)? I tried to upgrade to java 11 and got lots of
> > issues. Some deprecated packages are removed and others changed
> > signature. I got 2 errors and about 53 warnings for things that should
> > be fixed.
> >
> > Should we go ahead and attempt the upgrade? Anyone already went
> > through the effort and can help out?
> >
> > Taher Alkhateeb
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: [Discussion] Upgrading OFBiz to work with Java 11

taher
Created JIRA [1] to start working on this.

[1] https://issues.apache.org/jira/browse/OFBIZ-10757

On Thu, Dec 27, 2018 at 4:08 PM Deepak Dixit <[hidden email]> wrote:

>
> I tried to run ofbiz with JDK 11, with following entry in build.gradle I am
> able to build and run ofbiz.
>
>
> runtime 'javax.xml.soap:javax.xml.soap-api:1.4.0'
>
>
>
> There are around 75 warnings (framework + plugins)
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
>
> On Wed, Dec 26, 2018 at 10:48 AM Girish Vasmatkar <
> [hidden email]> wrote:
>
> > Hi Taher
> >
> > I haven't tried upgrading myself but I'm in for this effort. I think it
> > only makes sense to do the upgrade. I'll also try Java 11 and see how it
> > goes.
> >
> > Best,
> > Girish
> >
> > On Wed, Dec 26, 2018 at 1:25 AM Taher Alkhateeb <
> > [hidden email]>
> > wrote:
> >
> > > Hi Folks,
> > >
> > > Now that we upgraded Gradle, I think we should consider moving to the
> > > new LTS (JDK 11)? I tried to upgrade to java 11 and got lots of
> > > issues. Some deprecated packages are removed and others changed
> > > signature. I got 2 errors and about 53 warnings for things that should
> > > be fixed.
> > >
> > > Should we go ahead and attempt the upgrade? Anyone already went
> > > through the effort and can help out?
> > >
> > > Taher Alkhateeb
> > >
> >