On Wednesday 29 January 2003 10:42 pm, John P Verel wrote:
I don't want to be critical here, but was just wondering if it is correct to put this path statement in the /etc/profile file? Isn't the /home and /root .bashrc and .bash_profile files used for that? Just wondering??? > I have this in /etc/profile: > > if ! echo $PATH | /bin/grep -q "/usr/X11R6/bin:/usr/java/jdk1.3.1/bin"; > then PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1/bin" > > This makes the jdk available to all users. It also eliminates the > potential for appending the java sub-path more than once, which can > easily happen with an out of the box Red Hat install. > > John > > On 01/29/03 09:25 +0000, Stephen Cox wrote: > > Thanks for your help j.post that did it. > > > > >Edit .bashrc in your home directory and add this line: > > > > > >PATH=$PATH:/usr/java/j2sdk1.4.0/bin > > > > > >(assuming you have version 1.4.0--change the path to wherever the java > > > SDK was installed.) Then restart your desktop GUI. > > > > When I asked this at a forum I got told to put that line in > > .bash_profile, should I remove the line from there (because it didn't > > work)? Also I was told to make a link of java and javac and but them in > > /usr/local/bin. Are they still needed? > > > > Lastly, when I tried to install the Studio ONE IDE it wanted to install > > it inside /root. Where should I put it if I want all users to be able to > > access it? > > > > _________________________________________________________________ > > Worried what your kids see online? Protect them better with MSN 8 > > http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&DI=1 > >059 > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list -- T.L.Gervais Coldbrook, NS Canada. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list