What is Java and how do I install it

User13User13 Member Posts: 155 Maven
edited May 2020 in Knowledge Base


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).


It is sufficient to download the Java Runtime Environment version 7. The development kit is not required.

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:

  1. Edit the file RapidMiner-Studio.sh

  2. Remove/Comment out everything in the
    Searching for Java

  3. add the following line instead (adapt folder to your desired java installation):

  4. Start RapidMiner Studio again via this script.



  • Options
    tarekmtarekm Member Posts: 1 Newbie
    edited May 2020
    Solution on Ubuntu 20.4 LTS

    you don have to change the default java (for me default is java-11-openjdk-amd64 version)  with " sudo update-alternatives --config java".

    you have only to set JAVA_HOME as bellow  at the top of RapidMiner-Studio.sh:

    • JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre"
    •  you can also specify the RAPIDMINER_HOME="path_where_you_unzip_Rapidminer_folder"

    it works fine without any Problems :-)

    unset _JAVA_OPTIONS<br>



  • Options
    RoeRoe Member Posts: 4 Contributor I
    Hi. Java 8 is required specifically for RM 9.7 (not even newer versions). Had the same problem (on Ubuntu). Check you version of RM and which java is required. Replace version number where relevant (the 8 in this case)and work as below.
    1. sudo apt install openjdk-8-jdk openjdk-8-jre # to install required jdk.
    2. sudo update-alternatives --config java # to view your jdk versions and choose a compatible one.
    3. select the version with the java8 (1081) in my case. # Use the number in the first column.
    4. cd to location of RM. # go to location of RM using terminal.
    5. ./RapidMiner-Studio.sh # this will start installation. Be patient.
Sign In or Register to comment.