A few months back, I had a question about upgrading Solr. I was trying to upgrade from 8.5 to 9.3. That introduced a few errors into our website search that we were not able to resolve, so we've figured we'll just upgrade to the latest 8.x version, ie. 8.11.
We've successfully upgraded the underlying OS, and we're happy 8.11 returns the same search results as 8.5. So far so good. Now we're looking at java. Its currently running on openjdk-8. I've tried upgrading to openjdk-11 and openjdk-13. The process, as this is Ubuntu is basically. apt install openjdk-13-jdk update-alternatives --list java update-alternatives --set java /usr/lib/jvm/java-13-openjdk-amd64/bin/java On doing that, solr will fail to start. It just waits and eventually fails after about 2 minutes. So I can do update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java To set it back to java 8 and it runs again. I've tried regenerating the init script with the new java, but the scripts are identical. I've tried rebooting the server with the new java active in case its an environment thing. But to no avail. Any ideas what's going on here? I notice java 8 is still getting updates, so maybe the path of least resistance is to stay on that. Jim