Error found when loading /etc/profile: /etc/profile: line 29: JAVA_HOME: command not found /etc/profile: line 30: PATH: command not found /etc/profile: line 31: exportJAVA_HOME: command not found as a result, the session will not be configur

Asked by Adedokun Rokeeb Adewunmi

Error found when loading /etc/profile:
 /etc/profile: line 29: JAVA_HOME: command not found
 /etc/profile: line 30: PATH: command not found
 /etc/profile: line 31: exportJAVA_HOME: command not found
   as a result, the session will not be configured correctly

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

It seems that you have botched up your /etc/profile configuration file.

For diagnostic purposes, what is the output of the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
cat /etc/profile

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.