JRE required - OpenOffice 2 (beta)

Jeff Vian jvian10 at charter.net
Mon Jan 31 04:46:19 UTC 2005


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
> 
> 




More information about the users mailing list