![]() |
Page History
...
You have Java and Ant installed, as listed below
Advanced Tables - Table Plus | ||||||||
---|---|---|---|---|---|---|---|---|
|
R and Rserve have been installed. Please see the Rserve homepage at:
http://stats.math.uni-augsburg.de/Rserve/
![](/images/icons/linkext7.gif)
And the Rserve installation instructions:
http://stats.math.uni-augsburg.de/Rserve/doc.shtml
It is recommended that you read the Rserve installation instructions before installing R. Specifically, the Rserve instructions recommend building the R distribution from source using the (color:red)--enable-R-shlib flag(color).
The R source distribution can be obtained from R project site:
http://www.r-project.org/ (click the link under download)
Setting the Environment Variables:
NOTE | The purpose of setting operating system environment variables is so that the Java SDK and Ant build tool are available to run from anywhere in the system. |
Linux
To set the environment variables in Linux, follow these steps:
Step | Action |
---|---|
1 | As the root user, enter the following in the /etc/profile file. A PATH variable should already be created in this file, so be sure to define the JAVA_HOME and ANT_HOME export before the PATH export. Replace <installation_directory> with the directory where you have installed the Java SDK and Ant. |
(The location example in the Apache Ant installation (p. 5) is /usr/java.)
export JAVA_HOME=<installation_directory>/jdk1.5.0_10
export ANT_HOME=<installation_directory>/apache-ant-1.7.0
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH |
2 | Log out and log back in so that the system recognizes your changes. |
Verifying the Environment Variables in Linux
To verify that environment variables have been set correctly, follow these steps:
Step | Action |
---|---|
1 | From the command line, enter: |
echo $JAVA_HOME
echo $ANT_HOME
Both of these commands should return the location where you installed these tools.|
2 | To verify your Java SDK installation, enter java -version from a command prompt.// |