Paul Tremblay wrote:
Reply-To:
I would like to set install fop and need to know how to set up the
variable JAVA_HOME. Specifically, the directions state:

You have to set the enviroment variable JAVA_HOME. It must point to your local JDK root directory.
Can anyone tell me how to do this?
As root, edit /etc/profile to include the line

export JAVA_HOME=/wherever/you/installed/it

I don't know about all distros, but it may be a better idea
to put it in /etc/profile.local instead.  SuSE, for example,
actually starts /etc/profile with the comment

# PLEASE DO NOT CHANGE /etc/profile. There are chances that your changes
# will be lost during system upgrades. Instead use /etc/profile.local for
# your local settings,

I am sure someone will chime in with additional places it
can be set.

--
 ==================================================
  Glenn Holmer (Linux registered user #16682)
 --------------------------------------------------
  "You may think this is the finest pearl
   But it's only cardboard balls, seamed in glue
   Overwhelming technique; done through diligence"
 --------------------------------------------------
              -Captain Beefheart, "Best Batch Yet"
 ==================================================


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to