- Install JDK/JRE (at least version 1.7.X)
- Install Eclipse, version 4.4 (Luna) or above
- Install SWI-prolog, version 6.6.0 (or above) for your platform.
- Windows: Add the “bin” directory of your SWI-Prolog installation to the system PATH.
- Linux: Download the SWI-Prolog sources and see the README.linux file for further instructions. Make sure that all dependencies are loaded correctly (see http://www.swi-prolog.org/build/unix.html).
- Mac: Install MacPorts and type 'sudo port install swi-prolog'. Add'/opt/local/bin' to your system path (typically by adding it to the file /etc/paths).
If you use Java 1.7 and encounter memory problems, start Eclipse with the command line options ”
Test your SWI-Prolog installation before you install the PDT or JTransformer. If you get PrologProcessException errors (containing messages such as “Failed to obtain session”, “Timout exceeded while waiting for peer to come up”, etc.) SWI-Prolog cannot be started from Eclipse. Then make sure that
- SWI-Prolog is installed,
- the SWI-Prolog executable “swipl-win” is in your path,
- your firewall does not block connections from Eclipse / Java to Prolog
- on MacOS: the X11 environment is installed and running