You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Richard Eckart de Castilho <ri...@gmail.com> on 2013/01/09 22:32:25 UTC

JDK version used for releases

Hi,

I just looked at the "nicer Javadoc" tutorial [1] mentioned by Marshall. They suggest to run releases with the actual minimum JDK version required by the project, e.g. a JDK 5 if the target version is 1.5.

I wonder what the policy for UIMA releases. UIMA still targets Java 5, but for example on recent OS X machines Java 5 is no longer available. So far I only set the source level in the POM of my projects and rely on the JDK doing the right thing - so far I had no complains. Do you consider this to be enough, or do we actually have to get hold of some Linux an install a JDK 5 there?

Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no longer officially maintained (at least by Oracle, no idea about IBM and others). TextMarker cannot be built with Java 5 (I tried it on Jenkins - doesn't work). The same goes for uimaFIT, although it might be possible to step that down to 5 again - I had the misconception that Spring 3.x was Java-6-only, but just read that it supports Java 5 as well.

Cheers,

-- Richard

[1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs

Re: JDK version used for releases

Posted by Peter Klügl <pk...@uni-wuerzburg.de>.
Maybe we should ask this question also on the user list.

Best,

Peter

On 11.01.2013 09:45, Thilo Goetz wrote:
> IMHO, continued support of Java 1.5 is a waste of time.  I don't
> know anybody who's still using it.  If you (you as in, the entire
> list) do, please speak up.  Otherwise maybe we can just drop it.
>
> --Thilo
>
> On 10/01/13 19:19, Peter Klügl wrote:
>> I have used Java SDK 1.6 with 1.5 compiler settings before.
>>
>> I downloaded now a Java SDK 1.5 and get compile errors. Most of them are
>> trivial, but a few missing methods are annoying. I will create an Jira
>> issue.
>>
>> Peter
>>
>> Am 10.01.2013 19:04, schrieb Peter Klügl:
>>> Am 10.01.2013 18:01, schrieb Marshall Schor:
>>>> On 1/9/2013 4:32 PM, Richard Eckart de Castilho wrote:
>>>>> Hi,
>>>>>
>>>>> I just looked at the "nicer Javadoc" tutorial [1] mentioned by
>>>>> Marshall. They suggest to run releases with the actual minimum JDK
>>>>> version required by the project, e.g. a JDK 5 if the target version
>>>>> is 1.5.
>>>>>
>>>>> I wonder what the policy for UIMA releases. UIMA still targets Java
>>>>> 5, but for example on recent OS X machines Java 5 is no longer
>>>>> available. So far I only set the source level in the POM of my
>>>>> projects and rely on the JDK doing the right thing - so far I had no
>>>>> complains. Do you consider this to be enough, or do we actually have
>>>>> to get hold of some Linux an install a JDK 5 there?
>>>> This should be enough, given we have Jenkins builds running on
>>>> Java5.  Those
>>>> would catch any "accidental" dependencies on post-Java-5 APIs, which
>>>> is the main
>>>> issue we've seen.
>>>>
>>>>
>>>>> Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no
>>>>> longer officially maintained (at least by Oracle, no idea about IBM
>>>>> and others). TextMarker cannot be built with Java 5 (I tried it on
>>>>> Jenkins - doesn't work). The same goes for uimaFIT, although it
>>>>> might be possible to step that down to 5 again - I had the
>>>>> misconception that Spring 3.x was Java-6-only, but just read that it
>>>>> supports Java 5 as well.
>>>> Our general posture is to upgrade to the next Java level when
>>>> "required", given
>>>> that later Java levels are OK for running UIMA as well.  If we move
>>>> before we
>>>> need to, it only serves to possibly shrink (albeit perhaps very
>>>> slightly) our
>>>> user base.
>>>>
>>>> If TextMarker cannot be built with Java 5, a good question to
>>>> investigate is
>>>> what it would take to make it buildable under 5.  My experience is
>>>> that this is
>>>> frequently a pretty trivial change.
>>>> But if it turned out that there's some solid reason Java 6 is
>>>> required, that
>>>> could be sufficient reason to upgrade all of UIMA to 6.
>>> I will investigate it.
>>>
>>> Peter
>>>
>>>
>>>
>>>
>>>> -Marshall
>>>>> Cheers,
>>>>>
>>>>> -- Richard
>>>>>
>>>>> [1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs


Re: JDK version used for releases

Posted by Jörn Kottmann <ko...@gmail.com>.
On 01/11/2013 09:45 AM, Thilo Goetz wrote:
> IMHO, continued support of Java 1.5 is a waste of time.  I don't
> know anybody who's still using it.  If you (you as in, the entire
> list) do, please speak up.  Otherwise maybe we can just drop it.

+1, it might make sense to keep it for the core framework, but porting 
new and
not yet released tooling to it will not extend our user base ...

Jörn

Re: JDK version used for releases

Posted by Thilo Goetz <tw...@gmx.de>.
IMHO, continued support of Java 1.5 is a waste of time.  I don't
know anybody who's still using it.  If you (you as in, the entire
list) do, please speak up.  Otherwise maybe we can just drop it.

--Thilo

On 10/01/13 19:19, Peter Klügl wrote:
> I have used Java SDK 1.6 with 1.5 compiler settings before.
> 
> I downloaded now a Java SDK 1.5 and get compile errors. Most of them are
> trivial, but a few missing methods are annoying. I will create an Jira
> issue.
> 
> Peter
> 
> Am 10.01.2013 19:04, schrieb Peter Klügl:
>> Am 10.01.2013 18:01, schrieb Marshall Schor:
>>> On 1/9/2013 4:32 PM, Richard Eckart de Castilho wrote:
>>>> Hi,
>>>>
>>>> I just looked at the "nicer Javadoc" tutorial [1] mentioned by
>>>> Marshall. They suggest to run releases with the actual minimum JDK
>>>> version required by the project, e.g. a JDK 5 if the target version
>>>> is 1.5.
>>>>
>>>> I wonder what the policy for UIMA releases. UIMA still targets Java
>>>> 5, but for example on recent OS X machines Java 5 is no longer
>>>> available. So far I only set the source level in the POM of my
>>>> projects and rely on the JDK doing the right thing - so far I had no
>>>> complains. Do you consider this to be enough, or do we actually have
>>>> to get hold of some Linux an install a JDK 5 there?
>>> This should be enough, given we have Jenkins builds running on
>>> Java5.  Those
>>> would catch any "accidental" dependencies on post-Java-5 APIs, which
>>> is the main
>>> issue we've seen.
>>>
>>>
>>>> Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no
>>>> longer officially maintained (at least by Oracle, no idea about IBM
>>>> and others). TextMarker cannot be built with Java 5 (I tried it on
>>>> Jenkins - doesn't work). The same goes for uimaFIT, although it
>>>> might be possible to step that down to 5 again - I had the
>>>> misconception that Spring 3.x was Java-6-only, but just read that it
>>>> supports Java 5 as well.
>>> Our general posture is to upgrade to the next Java level when
>>> "required", given
>>> that later Java levels are OK for running UIMA as well.  If we move
>>> before we
>>> need to, it only serves to possibly shrink (albeit perhaps very
>>> slightly) our
>>> user base.
>>>
>>> If TextMarker cannot be built with Java 5, a good question to
>>> investigate is
>>> what it would take to make it buildable under 5.  My experience is
>>> that this is
>>> frequently a pretty trivial change.
>>> But if it turned out that there's some solid reason Java 6 is
>>> required, that
>>> could be sufficient reason to upgrade all of UIMA to 6.
>>
>> I will investigate it.
>>
>> Peter
>>
>>
>>
>>
>>> -Marshall
>>>> Cheers,
>>>>
>>>> -- Richard
>>>>
>>>> [1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs
> 


Re: JDK version used for releases

Posted by Peter Klügl <pk...@uni-wuerzburg.de>.
I have used Java SDK 1.6 with 1.5 compiler settings before.

I downloaded now a Java SDK 1.5 and get compile errors. Most of them are 
trivial, but a few missing methods are annoying. I will create an Jira 
issue.

Peter

Am 10.01.2013 19:04, schrieb Peter Klügl:
> Am 10.01.2013 18:01, schrieb Marshall Schor:
>> On 1/9/2013 4:32 PM, Richard Eckart de Castilho wrote:
>>> Hi,
>>>
>>> I just looked at the "nicer Javadoc" tutorial [1] mentioned by 
>>> Marshall. They suggest to run releases with the actual minimum JDK 
>>> version required by the project, e.g. a JDK 5 if the target version 
>>> is 1.5.
>>>
>>> I wonder what the policy for UIMA releases. UIMA still targets Java 
>>> 5, but for example on recent OS X machines Java 5 is no longer 
>>> available. So far I only set the source level in the POM of my 
>>> projects and rely on the JDK doing the right thing - so far I had no 
>>> complains. Do you consider this to be enough, or do we actually have 
>>> to get hold of some Linux an install a JDK 5 there?
>> This should be enough, given we have Jenkins builds running on 
>> Java5.  Those
>> would catch any "accidental" dependencies on post-Java-5 APIs, which 
>> is the main
>> issue we've seen.
>>
>>
>>> Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no 
>>> longer officially maintained (at least by Oracle, no idea about IBM 
>>> and others). TextMarker cannot be built with Java 5 (I tried it on 
>>> Jenkins - doesn't work). The same goes for uimaFIT, although it 
>>> might be possible to step that down to 5 again - I had the 
>>> misconception that Spring 3.x was Java-6-only, but just read that it 
>>> supports Java 5 as well.
>> Our general posture is to upgrade to the next Java level when 
>> "required", given
>> that later Java levels are OK for running UIMA as well.  If we move 
>> before we
>> need to, it only serves to possibly shrink (albeit perhaps very 
>> slightly) our
>> user base.
>>
>> If TextMarker cannot be built with Java 5, a good question to 
>> investigate is
>> what it would take to make it buildable under 5.  My experience is 
>> that this is
>> frequently a pretty trivial change.
>> But if it turned out that there's some solid reason Java 6 is 
>> required, that
>> could be sufficient reason to upgrade all of UIMA to 6.
>
> I will investigate it.
>
> Peter
>
>
>
>
>> -Marshall
>>> Cheers,
>>>
>>> -- Richard
>>>
>>> [1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs


Re: JDK version used for releases

Posted by Peter Klügl <pk...@uni-wuerzburg.de>.
Am 10.01.2013 18:01, schrieb Marshall Schor:
> On 1/9/2013 4:32 PM, Richard Eckart de Castilho wrote:
>> Hi,
>>
>> I just looked at the "nicer Javadoc" tutorial [1] mentioned by Marshall. They suggest to run releases with the actual minimum JDK version required by the project, e.g. a JDK 5 if the target version is 1.5.
>>
>> I wonder what the policy for UIMA releases. UIMA still targets Java 5, but for example on recent OS X machines Java 5 is no longer available. So far I only set the source level in the POM of my projects and rely on the JDK doing the right thing - so far I had no complains. Do you consider this to be enough, or do we actually have to get hold of some Linux an install a JDK 5 there?
> This should be enough, given we have Jenkins builds running on Java5.  Those
> would catch any "accidental" dependencies on post-Java-5 APIs, which is the main
> issue we've seen.
>
>
>> Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no longer officially maintained (at least by Oracle, no idea about IBM and others). TextMarker cannot be built with Java 5 (I tried it on Jenkins - doesn't work). The same goes for uimaFIT, although it might be possible to step that down to 5 again - I had the misconception that Spring 3.x was Java-6-only, but just read that it supports Java 5 as well.
> Our general posture is to upgrade to the next Java level when "required", given
> that later Java levels are OK for running UIMA as well.  If we move before we
> need to, it only serves to possibly shrink (albeit perhaps very slightly) our
> user base.
>
> If TextMarker cannot be built with Java 5, a good question to investigate is
> what it would take to make it buildable under 5.  My experience is that this is
> frequently a pretty trivial change.
> But if it turned out that there's some solid reason Java 6 is required, that
> could be sufficient reason to upgrade all of UIMA to 6.

I will investigate it.

Peter




> -Marshall
>> Cheers,
>>
>> -- Richard
>>
>> [1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs


Re: JDK version used for releases

Posted by Marshall Schor <ms...@schor.com>.
On 1/9/2013 4:32 PM, Richard Eckart de Castilho wrote:
> Hi,
>
> I just looked at the "nicer Javadoc" tutorial [1] mentioned by Marshall. They suggest to run releases with the actual minimum JDK version required by the project, e.g. a JDK 5 if the target version is 1.5.
>
> I wonder what the policy for UIMA releases. UIMA still targets Java 5, but for example on recent OS X machines Java 5 is no longer available. So far I only set the source level in the POM of my projects and rely on the JDK doing the right thing - so far I had no complains. Do you consider this to be enough, or do we actually have to get hold of some Linux an install a JDK 5 there?

This should be enough, given we have Jenkins builds running on Java5.  Those
would catch any "accidental" dependencies on post-Java-5 APIs, which is the main
issue we've seen.


>
> Also, what about upgrading uimaj-core to Java 6? Afaik Java 5 is no longer officially maintained (at least by Oracle, no idea about IBM and others). TextMarker cannot be built with Java 5 (I tried it on Jenkins - doesn't work). The same goes for uimaFIT, although it might be possible to step that down to 5 again - I had the misconception that Spring 3.x was Java-6-only, but just read that it supports Java 5 as well.

Our general posture is to upgrade to the next Java level when "required", given
that later Java levels are OK for running UIMA as well.  If we move before we
need to, it only serves to possibly shrink (albeit perhaps very slightly) our
user base.   

If TextMarker cannot be built with Java 5, a good question to investigate is
what it would take to make it buildable under 5.  My experience is that this is
frequently a pretty trivial change.
But if it turned out that there's some solid reason Java 6 is required, that
could be sufficient reason to upgrade all of UIMA to 6.

-Marshall
> Cheers,
>
> -- Richard
>
> [1] http://wiki.apache.org/lucene-java/HowToGenerateNiceJavadocs