"Problems with java 8 and rapidminer studio"
Hello,
I have a problem with java 8 and rapidminer 5. I have found in this forum that rapidminer 5 not matche with java 8, so I have installed rapidminer studio, but I have these errors. The program works nice with rapidminer 5 and java 6 but when I change to rapidminer studio and java 8 I encouter these problems.
I have a problem with java 8 and rapidminer 5. I have found in this forum that rapidminer 5 not matche with java 8, so I have installed rapidminer studio, but I have these errors. The program works nice with rapidminer 5 and java 6 but when I change to rapidminer studio and java 8 I encouter these problems.
May 05, 2015 9:44:45 AM com.rapidminer.tools.I18N
INFO: Set locale to en.
May 05, 2015 9:44:45 AM com.rapidminer.tools.PlatformUtilities logInfo
INFO: rapidminer.home is 'C:\Program Files\RapidMiner\RapidMiner Studio'.
May 05, 2015 9:44:45 AM com.rapidminer.license.ProductConstraintManager initialize
INFO: Initializing license manager.
May 05, 2015 9:44:45 AM com.rapidminer.license.ProductConstraintManager initialize
INFO: Using default license location.
May 05, 2015 9:44:46 AM com.rapidminer.license.ProductConstraintManager initialize
INFO: Registering default product.
Exception in thread "main" java.lang.NoClassDefFoundError: com/vlsolutions/swing/docking/ui/DockingUISettings
at com.rapidminer.tools.plugin.Plugin.initAll(Plugin.java:1008)
at com.rapidminer.RapidMiner.init(RapidMiner.java:585)
at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
at Clustering.ModelV2.main(ModelV2.java:507)
Caused by: java.lang.ClassNotFoundException: com.vlsolutions.swing.docking.ui.DockingUISettings
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more
0
Answers
I have no idea what your code looks like, what you're trying to do, etc. But to me it looks like you do not have all the libraries RapidMiner Studio uses (see the lib subfolder of a RapidMiner Studio installation) in your project.
Regards,
Marco
thank you in adavance.
depends on what you want to do. ALL jar files you see in that folder are there for a reason, we don't drag around unused files.
If they are actually required in your specific project, well, you can find that out by trial and error. All rapidminer-xyz jar files can be considered mandatory, though.
Please note that using Studio 6 as a library for your own project requires an OEM license.
Regards,
Marco
I try with rapidminer studia and java 7 it works but with java 8 I have the above error!! I must work in my project with java 8 and rapidminer, so what is the solution here ?!
Thank you.
Java 7 or Java 8 should make no difference. We run our development builds on Java 8. There most likely is a different reason why you are getting that error.
Regards,
Marco
Good to know Marco, cheers.
the reason we do not actually yet make use of Java 8 language features in Studio is because of RM Server. Server will only run with Java 7 and not with Java 8 at the moment. Whether you use Java 7 or 8 for Studio makes no difference.
Regards,
Marco
Thanks!