Unablt para instalar o solr tomcat no ubuntu 14.04

0

Estou tentando instalar o solr tomcat usando o gerenciador de pacotes Syanaptic. Estou recebendo o seguinte erro:

Unpacking solr-tomcat (3.6.2+dfsg-2) ...
Setting up solr-tomcat (3.6.2+dfsg-2) ...
 * no JDK found - please set JAVA_HOME
dpkg: error processing package solr-tomcat (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solr-tomcat
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up solr-tomcat (3.6.2+dfsg-2) ...
 * no JDK found - please set JAVA_HOME
dpkg: error processing package solr-tomcat (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 solr-tomcat

Eu já defini o JAVA_HOME.

sharun@sharun-VirtualBox:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
sharun@sharun-VirtualBox:~$ 

O que estou perdendo?

Estou usando o ubuntu 14.04 dentro da caixa virtual.

    
por Sharun 28.09.2016 / 13:31

1 resposta

0

Esta resposta resolveu o problema para mim.

% bl0ck_qu0te%     
por Sharun 04.10.2016 / 13:22