Hi Anjana,

Last JDK 6 compatible Lucene version seems to be 4.7.2 which was released
on April last year. I know it's better to move with latest possible
version, but as a platform we are constrained to support JDK 1.6 right now.

Did you guys see whether the JDK 6 compatible version will provide the
needed functionality for you? It seems Lucene is a core requirement for BAM
though I'm not sure about in-depth requirements.

This not only affect BAM, but product ML is also affected. Any other
product that will use the carbon-analytics repo are affected too since it's
set to build only with JDK 7!! So, unless there's a very good reason, I
think we should stick to JDK 1.6 support.

WDYT??

[1] https://lucene.apache.org/core/4_7_2/SYSTEM_REQUIREMENTS.html

Thanks,
KasunG


On Mon, Feb 2, 2015 at 8:16 AM, Anjana Fernando <anj...@wso2.com> wrote:

> Hi,
>
> Yeah, we had a small chat on this at the GitHub move hackathon, and it was
> mentioned that, Carbon 4.3.0 cannot be moved to Java 7 as a platform at
> this time. So the plan for the moment was, BAM only will be having the Java
> 7 requirement (and now ML also I guess), where several specific components,
> like ones which use the new Lucene version will require Java 7 to build and
> run.
>
> Cheers,
> Anjana.
>
> On Sun, Feb 1, 2015 at 10:40 AM, Selvaratnam Uthaiyashankar <
> shan...@wso2.com> wrote:
>
>> We discussed this sometime back and decided from Carbon 4.4.0, we will
>> move to Java 7 and 8. We can't move to Java 7 as a platform in 4.3.0, since
>> there are some dependencies, products had some issues.
>>
>> @Sameera, please comment.
>>
>> On Sun, Feb 1, 2015 at 9:58 AM, Nirmal Fernando <nir...@wso2.com> wrote:
>>
>>> Yes, ML will also be affected by this. But may be it's time for us to
>>> move as a platform to Java7. Oracle will not issue any updates for Java7
>>> too, after this April.
>>>
>>>
>>> *End of Public Updates for Oracle JDK 7
>>> <http://www.oracle.com/technetwork/java/javase/downloads/eol-135779.html> *
>>> The April 2015 CPU release will be the last Oracle JDK 7 publicly
>>> available update. For more information, and details on how to receive
>>> longer term support for Oracle JDK 7, please see the Oracle Java SE
>>> Support Roadmap
>>> <http://www.oracle.com/technetwork/java/javase/downloads/eol-135779.html>
>>> .
>>>
>>> On Sun, Feb 1, 2015 at 8:28 AM, Gokul Balakrishnan <go...@wso2.com>
>>> wrote:
>>>
>>>> Hi Kasun,
>>>>
>>>> Yes, we've recently added this for the BAM data layer implementation to
>>>> be used in BAM 3.0 onwards. Only BAM needs this for the time being, and
>>>> should ML reuse the data layer, it will be affected as well.
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> On Saturday, 31 January 2015, KasunG Gajasinghe <kas...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Gokul,
>>>>>
>>>>> Is this Lucene version a recent addition to the platform? How many
>>>>> products are affected by this?
>>>>>
>>>>> On Sat, Jan 31, 2015 at 7:23 PM, Gokul Balakrishnan <go...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Nirmal,
>>>>>>
>>>>>> Yes, the version of Lucene we're dependent on requires Java 7.
>>>>>>
>>>>>> Thanks,
>>>>>> Gokul.
>>>>>>
>>>>>>
>>>>>> On Saturday, 31 January 2015, Nirmal Fernando <nir...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I was trying to use carbon-analytics features and noticed that
>>>>>>> Lucene dependency used by carbon-analytics needs Java7 to run ?
>>>>>>>
>>>>>>> osgi> ls -c 166
>>>>>>>
>>>>>>> Components in bundle org.wso2.carbon.analytics.dataservice:
>>>>>>>
>>>>>>> ID Component details
>>>>>>>
>>>>>>> 18 Component[
>>>>>>>
>>>>>>> name = analytics.component
>>>>>>>
>>>>>>> factory = null
>>>>>>>
>>>>>>> autoenable = true
>>>>>>>
>>>>>>> immediate = true
>>>>>>>
>>>>>>> implementation =
>>>>>>> org.wso2.carbon.analytics.dataservice.AnalyticsDataServiceComponent
>>>>>>>
>>>>>>> state = Unsatisfied
>>>>>>>
>>>>>>> properties = {service.pid=analytics.component}
>>>>>>>
>>>>>>> serviceFactory = false
>>>>>>>
>>>>>>> serviceInterface = null
>>>>>>>
>>>>>>> references = {
>>>>>>>
>>>>>>> Reference[name = registry.service, interface =
>>>>>>> org.wso2.carbon.registry.core.service.RegistryService, policy = dynamic,
>>>>>>> cardinality = 1..1, target = null, bind = setRegistryService, unbind =
>>>>>>> unsetRegistryService]
>>>>>>>
>>>>>>> }
>>>>>>>
>>>>>>> located in bundle =
>>>>>>> org.wso2.carbon.analytics.dataservice_1.0.0.SNAPSHOT [166]
>>>>>>>
>>>>>>> ]
>>>>>>>
>>>>>>> Dynamic information :
>>>>>>>
>>>>>>>   The component is satisfied
>>>>>>>
>>>>>>>   All component references are satisfied
>>>>>>>
>>>>>>>   Component configurations :
>>>>>>>
>>>>>>>     Configuration properties:
>>>>>>>
>>>>>>>       service.pid = analytics.component
>>>>>>>
>>>>>>>       component.name = analytics.component
>>>>>>>
>>>>>>>       component.id = 17
>>>>>>>
>>>>>>>     Instances:
>>>>>>>
>>>>>>>     No instances were created because: Can not activate instance of
>>>>>>> component
>>>>>>> org.wso2.carbon.analytics.dataservice.AnalyticsDataServiceComponent. The
>>>>>>> activation throws: java.lang.UnsupportedClassVersionError:
>>>>>>> org/apache/lucene/analysis/Analyzer : Unsupported major.minor version 
>>>>>>> 51.0
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Thanks & regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>>>> Mobile: +94715779733
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Balakrishnan Gokulakrishnan*
>>>>>> Software Engineer,
>>>>>> WSO2, Inc. http://wso2.com
>>>>>> Mob: +94 77 593 5789 | +1 650 272 9927
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>>>> email: kasung AT spamfree wso2.com
>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>>>> blog: http://kasunbg.org
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Balakrishnan Gokulakrishnan*
>>>> Software Engineer,
>>>> WSO2, Inc. http://wso2.com
>>>> Mob: +94 77 593 5789 | +1 650 272 9927
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> S.Uthaiyashankar
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> Phone: +94 714897591
>>
>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to