JTransformer Installation

License

Prerequisites

  • 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-Xmx512m -XX:MaxPermSize=128m”.

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

  1. SWI-Prolog is installed,
  2. the SWI-Prolog executable “swipl-win” is in your path,
  3. your firewall does not block connections from Eclipse / Java to Prolog
  4. on MacOS: the X11 environment is installed and running

Installation via Update Site

Add the JTransformer Update Site to your Eclipse installation by entering one of the following URL in ”Help” → ”Install new Software…” → ”Add…”:

JTransformer Version Update Site URL Release notes
latest http://sewiki.iai.uni-bonn.de/public-downloads/update-site-jt/latest/ build from
latest commit
4.1.0
(recommended)
http://sewiki.iai.uni-bonn.de/public-downloads/update-site-jt/ Release Notes
Older Versions
4.0.0 http://sewiki.iai.uni-bonn.de/public-downloads/update-site-jt/v4.0 Release Notes
3.2.0
( deprecated)
http://sewiki.iai.uni-bonn.de/public-downloads/update-site-jt/v3.2 Release Notes
2.9.0
( deprecated)
http://sewiki.iai.uni-bonn.de/public-downloads/update-site-jt/v2.9/ Release Notes

Then select at least the “JTransformer” and “Prolog Development Tool” features. This is how it should look (except for the version number):

 JTransformer Update Site

Uncheck “Contact all update sites during install to find required software”, to avoid long connection times.

Press “Next” and follow the instructions.

Getting Started

The JTransformer Tutorial tells you how to set up your first JTransformer Project and write your first query.

Last modified: 2016/05/13 16:48
*