You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Skip <sk...@thedevers.org> on 2017/12/08 23:18:38 UTC
Java SDK version 8 for Ofbiz version 12
I am using Ofbiz version 12. I cannot easily convert to the latest because
I have made thousands of changes to the ofbiz core code and redoing all that
for version 16 will take a long time.
Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is
supported in Java 8.
Does anyone have any experience using Java 8 with older versions of OFbiz?
Thanks in Advance
Skip
Re: Java SDK version 8 for Ofbiz version 12
Posted by Yashwant Dhakad <ya...@hotwaxsystems.com>.
Hi Skip,
Please do following changes in build.xml files:
1. applications/order/build.xml in this file add <fileset
dir="../../framework/widget/build/lib" includes="*.jar"/> after this
<fileset dir="../../framework/common/build/lib" includes="*.jar"/> line.
2. applications/party/build.xml in this file add <fileset
dir="../../framework/widget/build/lib" includes="*.jar"/> after this
<fileset dir="../../framework/common/build/lib" includes="*.jar"/> line.
3. applications/product/build.xml in this file add <fileset
dir="../../framework/widget/build/lib" includes="*.jar"/> after this
<fileset dir="../../framework/common/build/lib" includes="*.jar"/> line.
4. applications/workeffort/build.xml in this file add <fileset
dir="../../framework/widget/build/lib" includes="*.jar"/> after this
<fileset dir="../../framework/common/build/lib" includes="*.jar"/> line.
5. specialpurpose/ebay/build.xml in this file add these two
lines <fileset dir="../../framework/widget/build/lib"
includes="*.jar"/><fileset dir="../../applications/content/build/lib"
includes="*.jar"/> after this <fileset
dir="../../framework/common/build/lib" includes="*.jar"/> line.
6. specialpurpose/pos/build.xml in this file add <fileset
dir="../../framework/start/build/lib" includes="*.jar"/> after
this <fileset dir="${lib.dir}" includes="*.jar"/> line.
One more changes in macros.xml file like target and source value with 1.8
version:
<default-javac compiler="javac1.6" target="1.8" source="1.8"
encoding="UTF-8" sourcepathref="src-path">
Thanks & Regards
--
Yashwant Dhakad
HotWax Systems
http://www.hotwaxsystems.com/
On Sat, Dec 9, 2017 at 4:48 AM, Skip <sk...@thedevers.org> wrote:
> I am using Ofbiz version 12. I cannot easily convert to the latest because
> I have made thousands of changes to the ofbiz core code and redoing all
> that
> for version 16 will take a long time.
>
> Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is
> supported in Java 8.
>
> Does anyone have any experience using Java 8 with older versions of OFbiz?
>
> Thanks in Advance
>
> Skip
>
>
Re: Java SDK version 8 for Ofbiz version 12
Posted by Nicolas Malin <ni...@nereide.fr>.
You can check also the issue
https://issues.apache.org/jira/browse/OFBIZ-5881
Nicolas
Le 10/12/2017 à 23:17, Paul Foxworthy a écrit :
> Hi Skip,
>
> Check out https://issues.apache.org/jira/browse/OFBIZ-4749 and
> https://issues.apache.org/jira/browse/OFBIZ-5835.
>
> With the patches from these two in place, OFBiz 10 and 11 compile with
> OpenJDK 8.
>
> Cheers
>
> Paul Foxworthy
>
>
> On 9 December 2017 at 18:29, Oleg Andreyev <an...@gmail.com> wrote:
>
>> Hi Skip,
>>
>> Actually, if UPS connectivity is the only problem then you may enable TLS
>> 1.2 in Java 7.
>> Find target 'start-batch' (or whatever you use to start an ofbiz instance)
>> in build.xml and add another <vmarg /> with value
>> -Dhttps.protocols=TLSv1.1,TLSv1.2
>>
>>
>> On Sat, Dec 9, 2017 at 1:18 AM, Skip <sk...@thedevers.org> wrote:
>>
>>> I am using Ofbiz version 12. I cannot easily convert to the latest
>> because
>>> I have made thousands of changes to the ofbiz core code and redoing all
>>> that
>>> for version 16 will take a long time.
>>>
>>> Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is
>>> supported in Java 8.
>>>
>>> Does anyone have any experience using Java 8 with older versions of
>> OFbiz?
>>> Thanks in Advance
>>>
>>> Skip
>>>
>>>
>>
>> --
>> Best regards,
>>
>> Oleg Andreyev
>> at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a>
>>
>
>
Re: Java SDK version 8 for Ofbiz version 12
Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Hi Skip,
Check out https://issues.apache.org/jira/browse/OFBIZ-4749 and
https://issues.apache.org/jira/browse/OFBIZ-5835.
With the patches from these two in place, OFBiz 10 and 11 compile with
OpenJDK 8.
Cheers
Paul Foxworthy
On 9 December 2017 at 18:29, Oleg Andreyev <an...@gmail.com> wrote:
> Hi Skip,
>
> Actually, if UPS connectivity is the only problem then you may enable TLS
> 1.2 in Java 7.
> Find target 'start-batch' (or whatever you use to start an ofbiz instance)
> in build.xml and add another <vmarg /> with value
> -Dhttps.protocols=TLSv1.1,TLSv1.2
>
>
> On Sat, Dec 9, 2017 at 1:18 AM, Skip <sk...@thedevers.org> wrote:
>
> > I am using Ofbiz version 12. I cannot easily convert to the latest
> because
> > I have made thousands of changes to the ofbiz core code and redoing all
> > that
> > for version 16 will take a long time.
> >
> > Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is
> > supported in Java 8.
> >
> > Does anyone have any experience using Java 8 with older versions of
> OFbiz?
> >
> > Thanks in Advance
> >
> > Skip
> >
> >
>
>
> --
> Best regards,
>
> Oleg Andreyev
> at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a>
>
--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia
Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: info@coherentsoftware.com.au
Re: Java SDK version 8 for Ofbiz version 12
Posted by Oleg Andreyev <an...@gmail.com>.
Hi Skip,
Actually, if UPS connectivity is the only problem then you may enable TLS
1.2 in Java 7.
Find target 'start-batch' (or whatever you use to start an ofbiz instance)
in build.xml and add another <vmarg /> with value
-Dhttps.protocols=TLSv1.1,TLSv1.2
On Sat, Dec 9, 2017 at 1:18 AM, Skip <sk...@thedevers.org> wrote:
> I am using Ofbiz version 12. I cannot easily convert to the latest because
> I have made thousands of changes to the ofbiz core code and redoing all
> that
> for version 16 will take a long time.
>
> Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is
> supported in Java 8.
>
> Does anyone have any experience using Java 8 with older versions of OFbiz?
>
> Thanks in Advance
>
> Skip
>
>
--
Best regards,
Oleg Andreyev
at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a>