Show us the command that you entered that bring errors.
–
LucioMay 1 '14 at 16:44

1

@Lucio : I am trying to install the regular updates, I get this error, and I go to terminal and try to upgrade i get this error, also if I try to install any package, I get this error. So Basically I can't do anything with this now. I am not sure if i have set the rite path for java. I have three verions, Icedtea, java and java 7.. am totally confused. Help me
–
BaluMay 1 '14 at 17:07

1 Answer
1

Read the error message carefully. It tells you that on line 3 of /etc/environment the subshell tries to execute the command JAVA_HOME, and fails. You (or your system manager) tried to add definitions for JAVA_HOME and CLASSPATH variables to /etc/environment, but mistyped the input. It should be: