Unix & Linux

How to install and run Apache Solr 9.x on FreeBSD

Before you begin this guide, you should have a FreeBSD 13.2 server.

Solr needs the Java version 11 or higher. Java 11 has been extensively tested by both automated tests and users through Solr 9. Long Term Support (LTS) for Java 11 is provided from several sources. Java 12, 13, 14, 15 and 16 have no LTS. For this reason, Java 17 is preferred when upgrading Java. But we will use OpenJDK as free and lightweight alternative.