Instalei o Java 7 e o Java 8 na minha máquina e o java -version retorna a versão correta quando altero as variáveis de ambiente. Quando vou instalar o Logstash usando o deb recebo a seguinte mensagem:
dpkg: dependency problems prevent configuration of logstash:
logstash depends on java7-runtime-headless | java6-runtime-headless | j2re1.7; however:
Package java7-runtime-headless is not installed.
Package java6-runtime-headless is not installed.
Package j2re1.7 is not installed.
dpkg: error processing package logstash (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
logstash
Eu tentei instalar essas versões do java, mas sem sorte. Alguma idéia?