What is Java and how do I install it
Problem:
RapidMiner Studio 6.x depends on the Java Runtime Environment (JRE) version 7. On Windows, it is shipped with RapidMiner Studio, on other operating systems you have to install it manually (unless it is shipped with your operating system).
Solution:
It is sufficient to download the Java Runtime Environment version 7. The development kit is not required.
- Download Java 7 from http://www.java.com.
Downloads are available for all major operating systems, and it is possible to install both versions on the same machine. Note that the Windows version of RapidMiner ships its own copy of the Java 7 runtime, so no installation is required there.
Most Linux distributions come with recent Java versions. E.g., on Ubuntu you can install them with
sudo apt-get install openjdk-7-jre
If both versions are installed, the default can be configured by using
sudo update-alternatives --config java
After the installation, the java executable should be on the pat, i.e. if you type
java -version
on the command prompt you should see the installed version number.
In order to tell RapidMiner Studio where Java is installed, set the environment variable JAVA_HOME to point to your Java installation directory. You can set this variable globally or inside the start scripts. If you cannot set it globally, go to your RapidMiner Studio installation folder and follow these steps:
-
Edit the file RapidMiner-Studio.sh
-
Remove/Comment out everything in the
Searching for Java
block -
add the following line instead (adapt folder to your desired java installation):
JAVA="/opt/bin/java7"
-
Start RapidMiner Studio again via this script.
Comments