Solr Search: Which JDK version should I use?

  • Updated

There are several versions of the JDK for the Solr server. Which version should be downloaded?

The recommended version is Java Development Kit 1.7, Windows x64 version, update 51 if using the 9.0 or 9.1 Ektron versions of Solr.

JDK 8 should be used for 9.2 - 9.3 Ektron versions of Solr. Starting in 9.3SP2 OpenJDK 8 - 10 can be used.

Ektron Solr Version Java JDK
9.0 - 9.1 JDK 7
9.2 - 9.3SP1 JDK 8 and OpenJDK 8
9.3 SP2+ JDK 8 - 10 and OpenJDK 8 - 10

 

Oracle Licensing Changes

https://episerver.zendesk.com/knowledge/articles/360038162252/en-us?brand_id=499034

JDK 7 downloads

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

JDK 8 downloads

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Redhat OpenJDK downloads 

https://developers.redhat.com/products/openjdk/download (download the MSI installer)

Remember to set the JAVA_HOME and Path(if on 9.4SP1+ versions) variables. See the critical steps KB for more on this.