SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:pdt:docs:download [2018/05/28 14:13]
kian.schmalenbach Back to the old Updatesite
research:pdt:docs:download [2019/06/21 11:20] (current)
Günter Kniesel Integrated prerequisites and troubleshooting section
Line 13: Line 13:
 */ */
  
-===== Prerequisites=====+===== Prerequisites =====
 ====  ==== ====  ====
 /* TODO: add links to minimal eclipse /* TODO: add links to minimal eclipse
Line 19: Line 19:
 - direct link: http://​download.eclipse.org/​eclipse/​downloads/​drops4/​R-4.3.2-201402211700/​index.php#​PlatformRuntime - direct link: http://​download.eclipse.org/​eclipse/​downloads/​drops4/​R-4.3.2-201402211700/​index.php#​PlatformRuntime
 */ */
-{{page>​prerequisites&​nofooter}}+ 
 +  - [[http://​java.sun.com|JDK/​JRE]] (at least version 1.7.X) 
 +  - [[http://​www.eclipse.org/​downloads| Eclipse]] (at least version 4.6 /Neon) 
 +  - [[http://​www.swi-prolog.org/​|SWI-prolog]] for your platform (at least version 6.6.0). Please follow **carefully** the  [[https://​www.swi-prolog.org/​download/​stable |instructions for installing on your specific operating system]].  
 +  - Make sure that the path to each of the above executables is in your PATH environment variable. 
 +  - Test your SWI-Prolog installation:​ In a terminal window, type 
 +    * ''​swipl''​ <- If the SWI-Prolog command line does not start in your terminal, your PATH variable is not properly set up.  
 +    * ''​swipl-win''​ <- If no separate window opens for SWI-Prolog, X11 is not installed properly, or not running, or the DISPLAY variable might not point to the X11 server. ​   
 +  - If either of the two tests fails, see the [[#​Troubleshooting | troubleshooting section]]. 
  
 ===== Installation ===== ===== Installation =====
Line 25: Line 34:
  
  
-After having fulfilled the above [[#prerequisites]]: +After having fulfilled the above [[#Prerequisites]]: 
   * Add the PDT Update Site to your Eclipse installation by entering on of the following URLs   * Add the PDT Update Site to your Eclipse installation by entering on of the following URLs
     in  "''​Help''"​ -> "''​Install new Software''​..."​ -> "''​Add''​...":​     in  "''​Help''"​ -> "''​Install new Software''​..."​ -> "''​Add''​...":​
Line 45: Line 54:
  
 ===== After Installation ===== ===== After Installation =====
-====  ====  
  
-  * New to the PDT?  +  ​* **New to the PDT?** -> Read [[getting_started|Getting Started]] and [[start|Overview]].  
-    ​* Read [[getting_started|Getting Started]] and [[start|Overview]].  +  ​* **PDT pro?** -> Read [[release_notes|Release Notes]]. 
-  * PDT pro?  +    ​ 
-    ​* Read [[release_notes|Release Notes]]. +===== Troubleshooting =====   
-    * [[migrate_pdt_1_to_2|Read this]] if you updated ​a PDT 1.x installation to version 2.x.+ 
 +  - **All platforms**:​ 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 (XQuartz) is installed __and__ running and the DISPLAY variable is properly set (see also the note below). 
 +  - **MacOS / Linux**: If the graphical tracer does not start (or any other part of SWI-Prolog that need the XQuartz / X11 environment):​ 
 +    - Install the X11 environment 
 +    - Set the DISPLAY variable properly: 
 +      * Open terminal window 
 +      * Type "echo $DISPLAY"​ 
 +      * Copy the result line that is displayed 
 +      * Open the PDT preferences (Preferences > PDT > Prolog Processes) 
 +      * Select your current configuration on the right-hand side and click "​Edit"​ 
 +      * Enter "​DISPLAY=...what you copied..."​ into the "Extra environment variables"​ field 
 +      * If there are more entries there, separate them by a comma (,) 
 +     - Always make sure X11 is running before you start the PDT!!!
  
research/pdt/docs/download.1527516786.txt · Last modified: 2018/05/28 14:13 by kian.schmalenbach

SEWiki, © 2019