Hi Nirmal,

Yes, the version of Lucene we're dependent on requires Java 7.

Thanks,
Gokul.

On Saturday, 31 January 2015, Nirmal Fernando <[email protected]> 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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to