I mistakenly edited the .bashrc with following Java Environmental settings:
Code: Select all
export JAVA_HOME=/opt/jdk1.8.0_172
export PATH=$JAVA_HOME/bin/
Code: Select all
export JAVA_HOME=/opt/jdk1.8.0_172
export PATH=$JAVA_HOME/bin:$PATH
Could you please let me know how to fix this issue. and Is there any good way on setting the Environment variables other than .bashrc
Thank you.