Leia atentamente a mensagem de erro. Ele informa que na linha 3 de /etc/environment
o subshell tenta executar o comando JAVA_HOME
e falha. Você (ou o gerente do sistema) tentou incluir definições para JAVA_HOME
e CLASSPATH
variables em /etc/environment
, mas digitou incorretamente a entrada. Deve ser:
JAVA_HOME="usr/lib/jvm/java-7-openjdk-amd64/bin"
CLASSPATH="usr/lib/jvm/java-7-openjdk-amd64/bin:/home/something etc"
(sem espaços em branco em ambos os lados do "=", sem dois pontos iniciais (significa a entrada vazia. Obrigado @ salarcot895)