We only support Oracle JDK 1.6 when compiling the source.  However Java 7
as the runtime is supported.

-- Sent from mobile
On Sep 23, 2013 3:17 PM, "Subash Chaturanga" <[email protected]> wrote:

> Hi
> Apparently this cannot be compiled in oracle JDK 1.7. (Saw the same issue
> raised with 1.7 JDK for others when googled)
>
> Hi Sameera,
> Are we suppose to compile the latest carbon source code in JDK 1.6 or 1.7
> ?
>
>
> On Mon, Sep 23, 2013 at 1:32 PM, Subash Chaturanga <[email protected]>wrote:
>
>> Hi,
>> I am building in clean repo and $subject. Have anyone came across this
>> today.
>>
>> INFO] Final Memory: 368M/472M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> (default-compile) on project org.wso2.carbon.mediation.templates.common:
>> Compilation failure
>> [ERROR]
>> /home/subash/development/carbon/platform/branches/4.2.0/components/mediation/template-editor/org.wso2.carbon.mediation.templates.common/4.2.0/src/main/java/org/wso2/carbon/mediation/templates/common/factory/TemplateInfoFactory.java:[131,41]
>> error: name clash: getSortedTemplateInfoArray(Collection<Template>) and
>> getSortedTemplateInfoArray(Collection<TemplateMediator>) have the same
>> erasure
>> [ERROR] -> [Help 1]
>> [ERROR]
>>
>>
>>
>> --
>> Thanks
>> /subash
>>
>> *Subash Chaturanga*
>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> blog:  http://subashsdm.blogspot.com/
>> twitter: @subash89
>> phone: +9477 2225922
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Thanks
> /subash
>
> *Subash Chaturanga*
> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>
> email: [email protected]
> blog:  http://subashsdm.blogspot.com/
> twitter: @subash89
> phone: +9477 2225922
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to