an error in .profile file prevents the system from booting?
- by nafaa
I tryied to set the JAVA_HOME environmet variable in the ~/.profile file
and I made a mistake
JAVA_HOME="/usr/lib/jvm/jdk1.6.0_37"
PATH=$JAVA_HOME:PATH
the error is in the PATH referencing. I put PATH rather than $PATH.
this prevents me from login.
I tried to edit the file using the recovery mode but it says that the file system is read only.
so any suggestions how to deal with this issue.
thanks