Error when installing Rapidminer Stuidio in Ubuntu 164

User: "danielunesp02"
New Altair Community Member
Updated by Jocelyn

I am trying to install Rapidminer Studio ubuntu 16.04 and I`m getting this error:

 

~/rapidminer-studio$ ./RapidMiner-Studio.sh
RAPIDMINER_HOME is not set. Trying the directory '/home/daniel/Downloads/rapidminer-studio'...
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at com.rapidminer.license.verification.JarVerifier.verify(JarVerifier.java:130)
at com.rapidminer.launcher.GUILauncher.main(GUILauncher.java:284)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:366)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185)
at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
... 2 more

Sort by:
1 - 2 of 21
    User: "zl1775"
    New Altair Community Member
    Accepted Answer

    Assuming you are using openjdk9, add the following line to the shell script

    --add-modules=java.xml.bind

    right after 

    eval \"$JAVA\"

     

     

    User: "Knights"
    New Altair Community Member
    Accepted Answer
    I had this same problem. For anyone wondering how to fix. You need to install Java8 as mentioned above. However, a majority of us have 8 below or above. You don't need to remove any java versions, just activate Java8.

    First, If you don't have 8 installed you can do:
    sudo apt install openjdk-8-jdk openjdk-8-jre

    Then type:
    sudo update-alternatives --config java

    Output:
    There are 2 choices for the alternative java (providing /usr/bin/java).

      Selection    Path                                            Priority   Status
    ------------------------------------------------------------
      0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      auto mode
      1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode
    * 2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

    Press <enter> to keep the current choice[*], or type selection number:

    Type the selection ID to activate that version. e.g. in my case: 2

    Java8 Activated.

    Then do the following to run:
    chmod +x RapidMiner-Studio.sh
    sh RapidMiner-Studio.sh