Correct an OS X/javahl problem introduced in r9415 (which changed to preferring the jikes Java compiler over javac): on OS X, jikes isn't smart enough to find the Java system classes, and though we already add all the .jar files in the jre/lib JDK subdirectory to JAVA_CLASSPATH, this isn't where OS X stores its system classes.
Correct an OS X/javahl problem introduced in r9415 (which changed to
preferring the jikes Java compiler over javac): on OS X, jikes isn't
smart enough to find the Java system classes, and though we already add
all the .jar files in the jre/lib JDK subdirectory to JAVA_CLASSPATH,
this isn't where OS X stores its system classes.

Reported by: jerenkrantz
Patch by: dlr
          me
          djames

* build/ac-macros/java.m4
  (SVN_FIND_JDK): Introduce $JRE_LIB_DIR as the location of the system
    classes.  On OS X, if $JDK is set to the default JDK location, set
    $JRE_LIB_DIR to the default OS X system class location.  (Otherwise,
    set it to $JDK/jre/lib, as before).  Use $JRE_LIB_DIR rather than
    the hard-coded path $JDK/jre/lib when building up JAVA_CLASSPATH
    for jikes.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@857742 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion