Link between Open JDK Url and Solr Version Future releases - A demo through SCIA
Sitecore installations are dependent on Solr versions. Here is the Sitecore / Solr compatibility table for reference:
So, its inevitable that a Sitecore installer should also have provision to install various Solr Versions. In case of the Sitecore Complete Install Assistant, Solr Installation can be launched via this button -
Note that this button gets enabled only after you connect to the backend database and after you select the Sitecore version to install.
This is how the Solr installer looks:
In the above form, the most important aspects for Solr installation are:
1. Solr Version: Key-in a valid Solr Version. A list of Solr versions can be found in this page
2. Java Download Url: Solr versions have a dependency on OpenJDK Url. In short, if you want to install Solr versions 8.4.0 or below, your Open JDK Url must be this-
url1: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jre_x64_windows_hotspot_8u242b08.zip
If you plan to install Solr versions above 8.4.0, at the time of writing of this blog article, the latest version is 8.7.0. The compatible Open JDK Url for the same is this -
url2: https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_windows_hotspot_11.0.9_11.zip
The way I found url2 is more of a trial and error. Initially, 8.7.0 wasn't running fine with url1. So, I went to openjdk page and based on the pattern of url1, I picked url2 for the latest release (openjdk 11).
So, in future, whenever there is a new release of Solr, if the Solr version is not compatible with existing openjdk url (in other words, your Solr PS script run might seem successful but you can't see the solr page when you enter the url in the browser), the openjdk url should be picked from openjdk page .
Here are the Solr versions tested for url1: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jre_x64_windows_hotspot_8u242b08.zip
Solr 6.5.0:
Solr 6.6.6:
Solr 7.2.1:
Solr 7.5.0:
Solr 8.1.0:
Solr 8.1.1:
Solr 8.4.0:
Here are the Solr versions tested for url2: https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_windows_hotspot_11.0.9_11.zip
Solr 8.6.0:
Solr 8.7.0:
In summary, if you are installing Solr through Sitecore Complete Install Assistant, with future releases of Solr (actually, applicable for older releases too), if your Solr is installed but if your admin page doesn't appear, just check your open jdk url to be a compatible one from openjdk page and rectify your installation.
Here are the generated JSON Files. Note that some of the Solr Versions (8.4.0 and below) are compatible with openjdk url2 but Solr versions from 7.x and below seem to be compatible only with openjdk url1.
Comments
Post a Comment