PATH
David M. Carney
david at n1zhe.org
Sat Oct 2 14:57:30 UTC 2004
Hmmm...
I opened a Gnome Terminal and entered the path manually. I then ran the
installer. During the install, it setup the program to find java.
So my program is installed and my problem fixed, but I'm still kinda
curious why I couldn't change the path by updating the /etc/profile
file.
David
On Sat, 2004-10-02 at 10:13 -0400, David M. Carney wrote:
> Ok all.
>
> This isn't really a Ubuntu question, but a Linux question.
>
> I'm trying to install a java app that uses an installer. It claimed it
> could not find a java vm in my path, so I added the following lines to
> my ~/.bash_profile:
>
> PATH=/usr/java/j2re1.4.2_05/bin:
>
> export PATH
>
> If I (from a Gnome terminal) type "echo $PATH", I get:
>
> /usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
>
> Even after logging out and back in, I can only get the above, not the
> path I want.
>
> In what file is this path set?
>
> David
>
> --
> Registered Linux User #297958
>
>
--
Registered Linux User #297958
More information about the ubuntu-users
mailing list