swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-support] JDK path in configure on Mac OS X


From: glen e. p. ropella
Subject: Re: [Swarm-support] JDK path in configure on Mac OS X
Date: Thu, 30 Jan 2014 08:40:40 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On 01/30/2014 04:28 AM, Degang Wu wrote:
> I'm new to Swarm (or I have never been able to successfully compile and 
> install Swarm) and I'm using Mac OS X 10.9. My installation of Oracle JDK is 
> in /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk. 
> 
> In configure step, the command I used is
> 
> ./configure --with-defaultdir=/opt/local --prefix=/opt/local 
> --with-jdkdir=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
> 
> and I got the following error message:
> 
> checking for JDK... configure: error: Cannot find JDK library
> 
> I guess I gave a wrong JDK path, but I don't know what the correct path is. 
> Can anybody help me?

I don't use OSX.  But I would guess that the directory should be:

   /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/

The script is looking for files in common subdirectories like bin, lib,
jre, etc.  So, if you can poke around in there and find the parent
directory for those, then that will tell you the right path to set.

-- 
glen ep ropella -- 971-255-2847



reply via email to

[Prev in Thread] Current Thread [Next in Thread]