[TYPO3-Solr] Solr on Debian 7 Wheezy with tomcat 6/7

Michael Schams typo3.lists at 2014.trash.schams.net
Thu Sep 18 12:08:26 CEST 2014


Hi Johann,


On 18/09/14 19:04, Johann Höchtl wrote:

> Do not use solr from debian repository.

I never tried this :-) But I would like to use Tomcat and the JDK from 
the Debian repo if possible.

[...]
> The exception: "Unsupported major.minor version 51.0“  leads to an
> older java version being used.

hmmm... "java -version" tells me:

java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

and I explicitly set Java to: /usr/lib/jvm/j2sdk1.7-oracle/jre/bin/java
by using: "update-alternatives --config java"

> Please check your /etc/defaults/tomcat to see if theres a JAVA_HOME
> pointing to your old OpenJDK6

HA! That was the problem... configuring the following fixed the issue:

JAVA_HOME=/usr/lib/jvm/j2sdk1.7-oracle

Thanks! Now I can continue testing... :-)


Cheers
Michael


More information about the TYPO3-project-solr mailing list