Re: JRE required - OpenOffice 2 (beta)

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

 



On Sun, 2005-01-30 at 21:26 -0700, James McKenzie wrote:
> Jim Cornette wrote:
> > 
> > Thanks! The package installed slowly, but successfully. Now to figure 
> > out how to get Openoffice 2 to use this JRE.
> 
> Edit the /etc/profile file's PATH to read:
> 
> # Path manipulation
> if [ `id -u` = 0 ]; then
> 	pathmunge <location of java bin directory>
> 	pathmunge /sbin
>          pathmunge /usr/sbin
>          pathmunge /usr/local/sbin
> fi
> 
> This will add the Java binaries location to the PATH statement for all 
> users.
> 

Not quite.  You have put in the section for root, and not the regular
user so only root will get that path added.

You need a section such as this added for all other users.

  if [ `id -u` != 0 ]; then
 	pathmunge <location of java bin directory>
  fi


> -- 
> James McKenzie
> 
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux