FYI If you're using 10.8 or later, it does not include a non-deprecated jdk.
You will need to install one, and then use the Java Preferences app to drag it to the top (i.e. set it as the default jdk). Ideally we'll detect this in configure in the future. On Tue, Dec 11, 2012 at 1:49 PM, Benjamin Hindman <[email protected]>wrote: > Are you running 10.6? If so, you'll need to do: > > ./configure > > JAVA_HOME=/Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home > > > > On Tue, Dec 11, 2012 at 1:46 PM, Jim Donahue <[email protected]> wrote: > > > I've got a new Mac and tried to build Mesos, but the build is failing > with > > a compilation error in jvm/jvm.cpp: > > > > jvm/jvm.cpp:494: warning: 'JNI_CreateJavaVM' is > > deprecated (declared at > > /System/Library/Frameworks/JavaVM.framework/Headers/jni.h:1937) > > > > > > > > Thanks, > > > > Jim > > >
