RapidMiner 9.8 Beta is now available

Be one of the first to get your hands on the new features. More details and downloads here:

GET RAPIDMINER 9.8 BETA

Error when installing Rapidminer Stuidio in Ubuntu 164

danielunesp02danielunesp02 Member Posts: 1 Contributor I
edited November 2018 in Help

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([email protected]/BuiltinClassLoader.java:366)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass([email protected]/ClassLoaders.java:185)
at java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:419)
... 2 more

Best Answers

  • zl1775zl1775 Member Posts: 4 Contributor I
    Solution Accepted

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

    --add-modules=java.xml.bind

    right after 

    eval \"$JAVA\"

     

     

    emiduevondersmithjdlirokusgenzer

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,944   RM Engineering

    Hi,

     

    looks like that for some reason the Java installation you are using does not contain javax.xml.bind.DatatypeConverter.

    Please make sure to use Oracle Java 8 or OpenJDK 8 for RapidMiner Studio.

     

    Regards,

    Marco

  • lirokuliroku Member Posts: 1 Contributor I

    Thanks, zl1775! Had this same issue under LM; your solution was all I needed.

    sgenzer
  • emidueemidue Member Posts: 2 Contributor I

    thanks!!! it's work for me:

    if [ $# -gt 0 ]; then
    eval \"$JAVA\" --add-modules=java.xml.bind $JVM_OPTIONS -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher \"$@\"
    else
    eval \"$JAVA\" --add-modules=java.xml.bind $JVM_OPTIONS -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher
    fi

     

     

    sgenzerkamgoche
  • AlandeyAlandey Member Posts: 8 Contributor II

    Is important tell that the adjust is in file "RapidMiner-Studio.sh",

     

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,944   RM Engineering

    Hi,

     

    Please note that we do not support Java 9 yet. To properly run Studio, you need the latest Oracle Java 8.

     

    Regards,

    Marco

    sgenzer
  • mansour_ebrahimmansour_ebrahim Member Posts: 20 Contributor II
    HI, where exactly is the shell script you addressed here?
    Assuming you are using openjdk9, add the following line to the shell script
    If you mean Rapidminer.sh file, I don't see any line there with \"$JAVA\" string
  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,944   RM Engineering
    Hi,

    Please see above. You need Java 8.

    Regards,
    Marco
  • KnightsKnights Member Posts: 2 Contributor I
    Just to also mention, I didn't need to add the --add-modules=java.xml.bind
    sgenzer
  • bendarjambendarjam Member Posts: 1 Newbie
    Thank you it's work for me to add :
    First, If you don't have 8 installed you can do:
    sudo apt install openjdk-8-jdk openjdk-8-jre

Sign In or Register to comment.