[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: $PATH and /etc/profile



s. keeling wrote:

Incoming from Simon L:
s. keeling wrote:

Incoming from Simon L:

In my /etc/profile file, I wrote: "PATH="/opt/j2sdk1.4.2_04/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sbin:/usr/sbin:/sbin""

First, you should append /opt/j2sdk1.4.2_04/bin to the _end_ of your
PATH variable, not the beginning.

When I log in text mode, the entire PATH is there as I want, I can "startx" and when I open a terminal, the PATH is perfect. Now, if I start the computer with KDM and that I run a terminal, the
Define "terminal."  What are you actually running?  XTerm, KTerm,

PATH is only: "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
I use kterm, but my problem is the same when I use an icon of a program that use java. So I want the PATH to be always there for any use.

I gave up trying to figure out how kde works.  If you have that in
/etc/profile, it ought to be right.


Just for the pleasure, I tried a Gnome session. So I opened gnome-terminal and it gives me the same thing (not working)



Reply to: