On Fri, Jan 13, 2012 at 1:10 PM, Burian, John
<john.bur...@nationwidechildrens.org> wrote:
> I recently went through building GE2011.11 on a RedHat/CentOS 5.x system.
> I wonder, is there a reason why you chose not to use the JRE, Ant, etc.
> packages from the RH/CentOS distribution? Admittedly, the way RedHat
> installs the JRE, buried beneath the redirection of the Alternatives
> system, makes it challenging to figure out exactly what the JAVA_ROOT
> should be, but still, the stuff is available.

On RHEL & Fedora, I run:

 readlink -f `which java`

And then set JAVA_HOME to the path returned by the command.

On Oracle Linux with the Sun/Oracle JDK, the original way of finding
the JAVA_HOME works for me.

BTW, thanks for the feedback!

Rayson


>
> John
>
> ----------------------------------------- Confidentiality Notice:
> The following mail message, including any attachments, is for the
> sole use of the intended recipient(s) and may contain confidential
> and privileged information. The recipient is responsible to
> maintain the confidentiality of this information and to use the
> information only for authorized purposes. If you are not the
> intended recipient (or authorized to receive information for the
> intended recipient), you are hereby notified that any review, use,
> disclosure, distribution, copying, printing, or action taken in
> reliance on the contents of this e-mail is strictly prohibited. If
> you have received this communication in error, please notify us
> immediately by reply e-mail and destroy all copies of the original
> message. Thank you.
>
> _______________________________________________
> users mailing list
> users@gridengine.org
> https://gridengine.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to