Differences
This shows you the differences between two versions of the page.
| installation:workspace [2014/11/24 16:11] – created admin | installation:workspace [2014/11/24 16:21] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Workspace setup ====== | ====== Workspace setup ====== | ||
| - | It is recommended to add the following to your ~/.plrc file to get a global command history for the Prolog shell: | + | |
| + | A few environment variables need to be set in order to run KnowRob. If you use Java code (which several KnowRob packages do), you may need to set the JAVA_HOME and SWI_HOME_DIR environment variables, e.g. by adding these lines to your ~/.bashrc file: | ||
| + | export JAVA_HOME=/ | ||
| + | export SWI_HOME_DIR=/ | ||
| + | |||
| + | You further need to add the Java directories to your LD_LIBRARY_PATH environment variable. Choose either of the following dependent on your system architecture: | ||
| + | <code bash> | ||
| + | # for amd_64 systems (64 bits): | ||
| + | export LD_LIBRARY_PATH=/ | ||
| + | |||
| + | # for i386 systems (32bits): | ||
| + | export LD_LIBRARY_PATH=/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | It is further | ||
| <code prolog> | <code prolog> | ||
| Line 16: | Line 32: | ||
| true | true | ||
| ). | ). | ||
| - | </ | ||
| - | |||
| - | If you use Java code (which several KnowRob packages do), you may need to set the JAVA_HOME and SWI_HOME_DIR environment variables, e.g. by adding these lines to your ~/.bashrc file: | ||
| - | export JAVA_HOME=/ | ||
| - | export SWI_HOME_DIR=/ | ||
| - | |||
| - | You further need to add the Java directories to your LD_LIBRARY_PATH environment variable. Choose either of the following dependent on your system architecture: | ||
| - | <code bash> | ||
| - | # for amd_64 systems (64 bits): | ||
| - | export LD_LIBRARY_PATH=/ | ||
| - | |||
| - | # for i386 systems (32bits): | ||
| - | export LD_LIBRARY_PATH=/ | ||
| - | |||
| - | |||
| </ | </ | ||


