[ 
https://issues.apache.org/jira/browse/LUCENE-10578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545237#comment-17545237
 ] 

Tomoko Uchida commented on LUCENE-10578:
----------------------------------------

I picked some major distributions that are available on sdkman and printed 
their runtime versions.

Latest in Java 11
{code}
# Coretto / Amazon
jshell> Runtime.version()
$1 ==> 11.0.15+9-LTS
# Java.net / Oracle
jshell> Runtime.version()
$1 ==> 11.0.12+7
# Microsoft
jshell> Runtime.version()
$1 ==> 11.0.15+10-LTS
# Temurin
jshell> Runtime.version()
$1 ==> 11.0.15+10
# Zulu
jshell> Runtime.version()
$1 ==> 11.0.15+10-LTS
{code}

Latest in Java 17 
{code}
# Coretto / Amazon
jshell> Runtime.version()
$1 ==> 17.0.3+6-LTS
# Java.net / Oracle
jshell> Runtime.version()
$1 ==> 17.0.3+8-LTS-111
# Microsoft 
jshell> Runtime.version()
$1 ==> 17.0.3+7-LTS
# Temurin
jshell> Runtime.version()
$1 ==> 17.0.3+7
# Zulu
jshell> Runtime.version()
$1 ==> 17.0.3+7-LTS
{code}

Java 19 EA
{code}
# Java.net
jshell> Runtime.version()
$1 ==> 19-ea+24-1832
{code}


> Make minimum required Java version for build more specific
> ----------------------------------------------------------
>
>                 Key: LUCENE-10578
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10578
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Tomoko Uchida
>            Priority: Minor
>
> See this mail thread for background: 
> [https://lists.apache.org/thread/6md5k94pqdkkwg0f66hor2sonm2t77jo]
> To prevent developers (especially, release managers) from using too old java 
> versions, we could (should?) elaborate the minimum required java versions for 
> the build.
> Possible questions in my mind:
>  * should we stop the build with an error or emit a warning and continue?
>  * do minor versions depend on the vendor? if yes, should we also specify the 
> vendor?
>  * how do we determine/maintain the minimum version?
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to