On 02/27/2012 04:51 AM, Charlie O'Keefe wrote:
Christopher,
Thanks, wasn't aware of /usr/libexec/java_home
$ /usr/libexec/java_home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
$ ls -Al `/usr/libexec/java_home`
total 16
drwxr-xr-x 41 root wheel 1394 Nov 21 08:43 bin
lrwxr-xr-x 1 root wheel 3 Nov 21 08:42 bundle -> ../
lrwxr-xr-x 1 root wheel 51 Nov 21 08:42 include ->
/System/Library/Frameworks/JavaVM.framework/Headers
drwxr-xr-x 42 root wheel 1428 Nov 21 08:43 lib
drwxr-xr-x 41 root wheel 1394 Nov 1 12:03 man
GLOBE-Mandalay:~ cokeefe$
That path specifically says "jdk" (not "jre"). Does this mean I have a JDK
rather than just a JRE?
Also, would it be a good idea for the configure script to attempt to run
/usr/libexec/java_home in this section where it is looking for a JDK?
Nope.
At the end you can always set JAVA_HOME before running configure.
But like Chris said, think you have something missing on your box
since on my 10.6.8 Headers contains what it should.
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org