File: README.MacOS

package info (click to toggle)
swi-prolog 7.2.3%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 84,180 kB
  • ctags: 45,684
  • sloc: ansic: 330,358; perl: 268,104; sh: 6,795; java: 4,904; makefile: 4,561; cpp: 4,153; ruby: 1,594; yacc: 843; xml: 82; sed: 12; sql: 6
file content (23 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Compiling JPL for MacOS

Updated: Nov 5, 2013 for MacOS 10.9

# Using Apple's Java distribution

Somehow MacOS did not install the Java SDK correctly, so I ended up without
jni.h.  I did not find a resolution for that.

# Using Oracle's SDK

Download from

  - http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

which installs

  - /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

Set $JAVAPREFIX to

  - /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin