I was trying to install Angularjs through the Ubuntu terminal and to have proper install, I'd to change the path. Maybe during these time I've messed up with the path. After this, when I'm starting Ubuntu terminal, I'm always getting these three message at top of the terminal window:
bash: export: `/usr/bin/java': not a valid identifier bash: export: `/usr/share/java': not a valid identifier bash: export: `/usr/share/man/man1/java.1.gz': not a valid identifier
I've tried to find the solution in few forums excluding this, but couldn't solve it. I've followed this this post but it couldn't change anything.
My Java is working properly, I can open this command with a warning
sudo gedit ~/.bashrc
What should I do to fix the problem?
Edition: After running
I'm getting this command
grep export ~/.bashrc, output:
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' export JAVA_HOME= /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz export PATH=$JAVA_HOME/bin:$PATH