[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Building JavaHL on OS X

From: Daniel Rall <dlr_at_collab.net>
Date: 2005-12-02 20:35:53 CET

Well over a year ago, I sent in a patch to fix a problem Justin
Erenkrantz noted on OS X when building with Jikes. (Possibly to do
with finding his Java runtime JARs? He didn't specify.) At the time,
I didn't receive any feedback regarding whether the patch fixed the
problem, and it's still sitting in a WC on my workstation.


If anyone on OS X could read the thread, and let me know whether this
fixes the problem noted by Justin, I'd appreciate it.

--- build/ac-macros/java.m4 (revision 17597)
+++ build/ac-macros/java.m4 (working copy)
@@ -63,6 +63,9 @@
   if test "$os_arch" = "Darwin" -a "$JDK" = "/usr" -a -d "/Library/Java/Home"; then
+ JRE_LIB_DIR="/System/Library/Frameworks/JavaVM.framework/Classes"
+ else
+ JRE_LIB_DIR="$JDK/jre/lib"
   if test -f "$JDK/include/jni.h"; then
     dnl This *must* be fully expanded, or we'll have problems later in find.
@@ -106,8 +109,8 @@
         if test -z "$jikes_found" -a -x "$jikes"; then
- for jar in $JDK/jre/lib/*.jar; do
+ for jar in $JRE_LIB_DIR/*.jar; do

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 2 20:37:31 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.