There are two possible situations:
Generally, there is no error. The environment variables do not save when rebooted and no path is listed when echoing the variable.
Red Hat 6.*, 7.* (RHEL)
environment variable is not loaded when BASH loads
open terminal and type the following:
add the relevant lines to the oracle user ~/.bash_profile and save:
as the oracle user, type the following into the terminal in order to initialize your changes:
you can now see your changes with the following command(s):