Re: java install (was bash/terminal)

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

 



Elton Woo wrote:

On April 26, 2003 11:28 pm, anthony baldwin wrote:
... (edited)...


Should the java be in there somewhere too?
How do I export it so it is in the path?



You can (as root) edit your /etc/profile thus: (append the java path) ... fi done unset i

JAVA_HOME=/usr/java/j2re1.4.2
PATH=/usr/java/j2re1.4.2/bin:$PATH

I think the redhat way actually works better

I just insert the line
"pathmunge /usr/local/java/bin after"

just before the line
"unset pathmunge"

in /etc/profile

Cheers,

Joe





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux