https://issues.apache.org/bugzilla/show_bug.cgi?id=54390

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to comment #2)
> IIRC, the correct and "official" (whatever that means) way of determining
> the JDK that has been set up as the default on Mac OS X is to run the
> command /usr/libexec/java_home

+1

I'm not sure how far back in history this command goes, though. For instance,
does 10.0.0 include it? The man page does not include any version information
for the utility itself (at least on 10.8.2).

It's definitely worth checking for /usr/libexec/java_home and using it if it's
there, though.

For those who don't know, 'java_home' allows multiple JVM versions to be
installed side-by-side and the user may choose which one she wants for which
purposes. I don't see a reason not to use the standard "use the user's current
top-preference JVM" which is the default operation of 'java_home'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to