You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2019/03/19 21:20:00 UTC

[jira] [Commented] (SOLR-12809) Upgrading to a more recent Java (JDK 11?)

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

Erick Erickson commented on SOLR-12809:
---------------------------------------

OK, we need some action on this, so I'll tread in where angels fear....

What we need is a matrix, including both Oracle and OpenJDK. This feels like a Wiki page since people will have questions about various Solr versions so answering questions like "does Java 6 work with OpenJDK 11?" would be hard to put in all the reference guides.

Certainly some part of it could be transferred to the current ref guide as appropriate.

Here's my straw-man proposal. To get the discussion started, we'll assume it doesn't matter whether it's Oracle or OpenJDK

Java 8 is recommended and has had the most mileage.

Java 9,10 are not recommended

Java 11 is recommended from either Oracle or OpenJDK.

Java 12 ?

Java 13 use at own risk, it's not even released yet.

 Which gives us a matrix roughy like this:
|| ||Solr 5x||Solr 6x||Solr 7x||Solr 8x||Solr 9x||Notes||
|Java 7|OK|NO|NO|NO|NO|[1]|
|Java 8|OK|OK|OK|OK|OK| |
|Java 9|NO|NO|NO|NO|NO| |
|Java 10|NO|NO|NO|NO|NO| |
|Java 11| | |OK|OK|OK|[2]|
|Java 12| | | | | |[3]|
|Java 13|NO|NO|NO|NO|NO|[4]|

[1] Java 8 is required starting with Solr 6.0

[2] What about Solr 5 or 6 and java 11? My straw-man statement is it should work but I don't know how much we've tested.

[3] I really have no clue what to say here. Java 11 seems to be the one we're getting the most questions about, so maybe this can be deferred unless we have concrete answers.

[4] Java 13 only has early access builds available.

 

So let's flesh this out so we have a position the community can stand behind. 

> Upgrading to a more recent Java (JDK 11?)
> -----------------------------------------
>
>                 Key: SOLR-12809
>                 URL: https://issues.apache.org/jira/browse/SOLR-12809
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Major
>
> JDK 8 will be EOL early next year (except for "premier support"). JDK 9, 10 and 11 all have issues for Solr and Lucene IIUC.
> Also IIUC Oracle will start requiring commercial licenses for 11.
> This Jira is to discuss what we want to do going forward. Among the topics:
>  * Skip straight to 11, skipping 9 and 10? If so how to resolve current issues?
>  * How much emphasis on OpenJDK .vs. Oracle's version
>  * What to do about dependencies that don't work (for whatever reason) with the version of Java we go with?
>  * ???
> This may turn into an umbrella Jira with sub-tasks of course. Since JDK 11 has had a GA release, I'd also like to have a record of where the current issues are to refer people to.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org