I have exported the PATH but once I switch to a different terminal or reboot Debian, $PATH is reset. Here are the steps I take:
~$ vim scripts.sh
I save it as mybash.sh and ...
When I'm using the svn client in my bash I have to set first the variable SVN_EDITOR like this:
So I thought it'd be easier for my if I set the environment variable at startup.
I have used this export PATH = $ PATH:/usr/local/java/bin
And when I use which java the path where java is found, but if I turn off my computer or close session when I put which java /usr/local/java/...