I am having problem in installation of rapidminer studio in ubuntu 18.04

MDeb
MDeb New Altair Community Member
edited November 2024 in Community Q&A
I have less concept about java, but still i have install as per the instruction. but while running the .sh file it is showing error given below screenshot can anyone help me out.

api@api-HP:~/Downloads/rapidminer-studio-9.2.1/rapidminer-studio$ ./RapidMiner-Studio.sh
RAPIDMINER_HOME is not set. Trying the directory '/home/api/Downloads/rapidminer-studio-9.2.1/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:286)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 2 more
api@api-HP:

Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi @MDeb ,
    which vesrion of Java are you using? It seems like the one you use is not compatible.

    Best,
    Martin
  • MDeb
    MDeb New Altair Community Member
    jdk 12.0.1
  • sgenzer
    sgenzer
    Altair Employee
    @MDeb yes that is certainly your problem. RapidMiner must use JDK 8.x
  • David_A
    David_A New Altair Community Member
    Hi,

    depending on your other requirements, it might make sense to set up java alternatives to easily switch between different Java versions:

    Best,
    David

  • Roe
    Roe New Altair Community Member
    Hi. Java 8 is required specifically (not even newer versions). Had the same problem (on Ubuntu).
    Soln:
    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 comaptible 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.