On Fri, 10 Apr 2015, Norman Gray wrote:
> Mark and Sarah, hello.
>
> > On 2015 Apr 9, at 22:41, Mark Taylor <[log in to unmask]> wrote:
> >
> >> The starjava script (installed into $STARLINK_DIR/starjava/bin/starjava) has
> >> a list of locations it checks for java, so we can always tweak the order of
> >> that if needed? Or set a different set of places to look on OS X than we do on
> >> Linux.
> >
> > That may be a good idea.
>
> I have not had to understand the OS X and Java story for some years, now, so I can add very little that's authoritative to this discussion.
>
> However neither of you has so far mentioned /usr/libexec/java_home, which _I think_ is the currently-preferred mechanism for finding just where Apple/Oracle/forces-of-chaos have squirrelled your JVM this week. The Oracle downloads seem to integrate with that mechanism in the correct fashion. I've included the relevant man page below for Mark's benefit.
>
> The documentation I can find <https://developer.apple.com/library/mac/qa/qa1170/_index.html> seems to suggest that it all just works by magic, but google suggests that this hasn't purged the world of people asking about 'java_home'.
>
> Bon chance,
>
> Norman
I can't tell if that's right or not, but the man page and link you
provide refer to Apple's java, i.e. pre-date Apple's decision
to ditch java as a standard part of the OS, so I don't know if
that mechanism still works for Oracle java.
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-9288776 http://www.star.bris.ac.uk/~mbt/
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|