Re: JRE required - OpenOffice 2 (beta)

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

 



On 01/30/2005 08:46:19 PM, Jeff Vian wrote:
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



The best thing to do - add JPackage.org to your yum repository - and istall their sun rpm compat package - it will do everything for you and so much more.


http://www.jpackage.org/

As far as Java on Linux/Fedora goes, it's the best thing since canned vienna sausages.



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

  Powered by Linux