commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam marshall (JIRA)" <>
Subject [jira] [Created] (DAEMON-265) OS X 10.8: Cannot build jsvc with java 7 installed
Date Tue, 06 Nov 2012 22:24:11 GMT
sam marshall created DAEMON-265:

             Summary: OS X 10.8: Cannot build jsvc with java 7 installed
                 Key: DAEMON-265
             Project: Commons Daemon
          Issue Type: Bug
          Components: Jsvc
    Affects Versions: 1.0.10
         Environment: OS X 10.8.2
Oracle JDK 1.7.0_09
            Reporter: sam marshall

I followed the instructions here to build jsvc:

When I run the configure script, I get this:

*** Java compilation tools ***
checking for JDK os include directory... Cannot find jni_md.h in /System/Library/Frameworks/JavaVM.framework/Home/
configure: error: You should retry --with-os-type=SUBDIR

As a workaround, I can make it work like this:

./configure --with-java=/System/Library/Frameworks/JavaVM.framework/Versions/A/

However, the workaround shouldn't really be necessary on a standard install.
As Oracle JDK 1.7 is now the default/only supported JDK on OS X, this ought to work out of
the box.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message