On 5/10/2018 8:56 AM, Christopher Schultz wrote:
What version of OpenJDK did you happen to run?

I don't remember for sure, but it was probably version 8. All my current Solr installs are on machines with Oracle Java.

My preference would be for Java 8, but on my Debian Wheezy install
only Java 7 is available.

In that case, you will be limited to Solr 5.x or earlier. Solr requires Java 8 as of 6.0.

In general, I prefer package-managed versions of everything whenever
possible, but I have found that on Debian the openjdk package requires
many dependencies that I might not otherwise want to install (at least
not globally)[1], so I tend to go with the tarball from Oracle.

There is a REALLY nice PPA setup for Ubuntu that lets you easily install Oracle Java.  It actually downloads the JDK directly from Oracle as part of the package install.  It will let you install multiple major versions, and includes packages that let you indicate which version you want to be default.

Debian can also use the same PPA repository as Ubuntu, but on older versions it may be more complicated to get it going. This guide is for Debian 8:

https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8#installing-the-oracle-jdk

Thanks,
Shawn

Reply via email to