Does Solr 7.x have support for Java 11?

匆匆过客 提交于 2019-12-24 01:12:51

问题


Currently our applications runs with Spring Data Solr + Apache Solr 5.3 + Java 8

We are upgrading our systems to Java 11. Does Spring Data Solr & Apache Solr latest version support Java 11 ?


回答1:


Solr 7.6 supports "Java 8 or greater". However . . . .

  • As per the Solr News it looks like 10 is tested and supported
  • Java is generally backwards compatible although Java 11 release notes might suggest has some backwards compatibility issues that might trip folks up in general
  • This ticket in the Solr Apache JIRA indicates that "Upgrading to a more recent Java (JDK 11?)" is open and unresolved
  • More definitively: As of late 2018, Java 11 was not yet recommended according to the good folks at LucidWorks. "The recommendation is to stay with JDK-8 until the Apache project officially supports JDK-11."

Based on the above it sounds like Java 8 is the safe bet, 10 might work but is risky and 11 is "right out" (h/t to Monty Python and the Holy Grail)



来源:https://stackoverflow.com/questions/54350573/does-solr-7-x-have-support-for-java-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!