environment variables
I used redhat 8.0 and my environment variables are in the .bash_profile in my home directory.
Now I installed the window manager XFCE. But when I log into the XFCE, it didn't detect my environment variables. What should I do? Thanks. |
What kind of environment variables are we talking about, like in a terminal or such ?
|
For example, in the .bash_profile, I give path to the java/bin directory.
Now, the javac command not found. That means it didn't execute the .bash_profile when it log in I think. I ran the env command and I didn't found my java path and all the environment variables in the .bash_profile. |
I think you have to use ".profile" for this, because when you use a graphical login, bash doesn't get started.
|
I got it. I couldn't find the ".profile". But I edit in the ".bashrc" profile. It works.
thanks. |
All times are GMT -5. The time now is 05:10 PM. |