Re: cannot find java include files (MacOSX 10.9)
Paulo Moura <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Jochem, On 15/11/2013, at 13:12, Jochem Liem <[email protected]> wrote: > Dear all, > > I have a fresh install of MacOSX 10.9, but run into trouble compiling > both the git version and the MacPorts version of SWI-Prolog. During > 'configure' there is an error indicating that the java include files > cannot be found (see below). > > I've installed the Java update from Apple and even the Java SDK from > Oracle. It does not change anything. The java and javac commands are > available from the command line. > > Any clue how I can resolve this? Install Oracle's latest JDK and set your JAVA_HOME environment variable pointing to it. Something like: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home Cheers, Paulo ----------------------------------------------------------------- Paulo Moura Logtalk developer Email: <mailto:[email protected]> Web: <http://logtalk.org/> -----------------------------------------------------------------