...
The version of Java used to compile REEF is controlled in the Maven pom.xml file in the build plugins section as the maven-compiler-plugin artifact identifier. In order to run REEF applications you must set the JAVA_HOME environment variable to the correct Java installation directory for your operating system and java version. On Ubuntu Linux, the current active version of Java is controlled via links from /usr/bin via set by the update-alternatives command; thus the correct setting , the value of JAVA_HOME that use the Java version controlled by update-alternatives is given in the code block below. REEF will concatenate the appropriate path to find the appropriate executable files such as /usr/bin/java.
Code Block | ||||
---|---|---|---|---|
| ||||
export JAVA_HOME=/usr |
...