APPLE-SA-2010-10-20-1 and APPLE-SA-2010-10-20-2 no longer look like $JAVA_HOME

Originator:rangerrick
Number:rdar://8577057 Date Originated:10/20/2010
Status:Closed Resolved:24-Mar-2011 05:09 PM
Product:Java Product Version:
Classification:Serious Bug Reproducible:Always
 
20-Oct-2010 10:52 PM Benjamin Reed:
Summary:

The latest Java updates for Mac OS X 10.5 and 10.6 no longer provide a Sun-Java-compatible $JAVA_HOME.  They still have /System/Library/Frameworks/JavaVM.framework/Versions/*/Home directories, but those home directories do not contain proper includes anymore.

Steps to Reproduce:

Unpack jicmp-1.0.11.tar.gz
./configure

Expected Results:
finds jni.h

Actual Results:
configure: checking if /Library/Java/Home is home for a valid 1.5 jdk
checking if /Library/Java/Home has java... yes
checking if /Library/Java/Home has javac... yes
checking if /Library/Java/Home has jar... yes
checking if /Library/Java/Home has javah... yes
checking if java version meets requirements for 1.5... yes, version is 1.6
checking if java architecture meets requirements... yes, 64-bit
checking for jni headers... no
configure: no valid jdk found at /Library/Java/Home

Regression:
This used to work, but the include/ directory is no longer included in the java home.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!