[Yanel-dev] build failed

Gary Jones gary.jones at wyona.com
Fri Dec 12 11:35:58 CET 2008


Michael Wechner <michael.wechner at wyona.com> writes:

> Alec Bickerton schrieb:
>> Michael Wechner wrote:
>>> simon litwan schrieb:
>>>> Michael Wechner schrieb:
>>>>> simon litwan schrieb:
>>>>>> compile-core:
[...]
>>>>>> /home/simon/src/yanel-projects/src/core/java/org/wyona/yanel/core/map/Realm.java:499:
>>>>>> incompatible types
>>>>>>    [javac] found   : java.lang.Object
>>>>>>    [javac] required: java.lang.String[]
>>>>>>    [javac]         this.languages = languages.clone();
>>>>>>    [javac]                                         ^
>>>>>>    [javac] Note: Some input files use or override a deprecated API.
>>>>>>    [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>>>    [javac] 1 error
[...]
>>>>> What JDK and OS are you using?
>>>>>         
>>>> simon at sit61p:~/src/yanel-projects$ java -version
>>>> java version "1.5.0_06"
>>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
>>>> Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
>>>>       
>>> on Mac OS X I have
>>>
>>> java version "1.5.0_16"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
>>> Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
>>>
>>> whereas I need to check tomorrow what I have on Linux
>>>     
>
> On Linux I have
>
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>
> and it works fine

$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)


More information about the Yanel-development mailing list