My mistake in the /etc/environment file that probably provoked this error was that I had a line:
# Setup JDK JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64/
Instead of:
# Setup JDK JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64/"
Note the missing terminating '"'
My mistake in the /etc/environment file that probably provoked this error was that I had a line:
# Setup JDK "/usr/lib/ jvm/java- 6-openjdk- amd64/
JAVA_HOME=
Instead of:
# Setup JDK "/usr/lib/ jvm/java- 6-openjdk- amd64/"
JAVA_HOME=
Note the missing terminating '"'