🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉
Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.
Problem distributing a NetBeans application that integrates with RapidMiner
I am trying to integrate rapidminer with java. I use NetBeans.
I load the rapidminer.jar and I can initialize RapidMiner properly by using Rapidminer.init(). Then, I successfuly load and run a process and get the results back.
However, this only runs successfuly in NetBeans. When I do a cleanbuild of the app, the end result is a single .jar for my application, along with a lib folder that contains the rapidminer.jar. When I open the application's jar RapidMiner won't initialize. Therefore, I can run my program only through NetBeans and I can't distribute it.
Any ideas why this might be? I tried setting the home directory and the rc file with the following code (because the wiki recommended something like that), because I thought that maybe the rapidminer.jar tries to look for some folders and libraries relative to the .jar's path. However, this didn't fix the problem. RapidMiner will still not initialize.
System.setProperty("rapidminer.home", "C:\\Program Files\\Rapid-I\\RapidMiner5");
Thank you in advance for any help/assistance. I tried going through the forum and I also looked at the rapidminer wiki, but I couldn't solve this problem 2 days now. I wonder whether it has something to do with NetBeans and not RapidMiner.
Ideally, I'd like to be able to distribute my app without having to install RapidMiner on a new computer. I thought that I could simply include the .jar and set the home and the rc file.