Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Can't run RM7 studio from Eclipse
Hello everybody,
I have problem with running rapidminer sturio 7 form Eclipse. It show this error:
The problem is in method searchInBuildDir() on line 345.
line 346 sets url variable to "C:/Users/xuherv00/git/rapidminer-studio/bin/"
line 351 sets buildDir to "C:\Users\xuherv00\git\rapidminer-studio"
line 357 sets rmHome to "C:\Users\xuherv00\git" which is wrong.
I used actual version from GIT.
Is there any workaround?
Thanks for any advice.
Best wishes
Vaclav
I have problem with running rapidminer sturio 7 form Eclipse. It show this error:
Exception in thread "main" java.lang.ExceptionInInitializerErrorThe problem is, that com.rapidminer.tools.PlatformUtilities class wrongly detects rapidminer.home property.
Caused by: java.lang.IllegalStateException: Could not initialize RapidMiner Studio version from properties file
at com.rapidminer.tools.PlatformUtilities.initializeReleaseVersion(PlatformUtilities.java:184)
at com.rapidminer.tools.PlatformUtilities.initialize(PlatformUtilities.java:134)
at com.rapidminer.tools.PlatformUtilities.getReleaseVersion(PlatformUtilities.java:169)
at com.rapidminer.RapidMinerVersion.<init>(RapidMinerVersion.java:33)
at com.rapidminer.RapidMiner.<clinit>(RapidMiner.java:163)
The problem is in method searchInBuildDir() on line 345.
line 346 sets url variable to "C:/Users/xuherv00/git/rapidminer-studio/bin/"
line 351 sets buildDir to "C:\Users\xuherv00\git\rapidminer-studio"
line 357 sets rmHome to "C:\Users\xuherv00\git" which is wrong.
I used actual version from GIT.
Is there any workaround?
Thanks for any advice.
Best wishes
Vaclav
0
Answers
you have to specify the 'rapidminer.home' environment variable when running Studio (with -Drapidminer.home="..."). The variable has to point to the RapidMiner Studio folder.
Cheers,
Nils
The problem of this is that it will only work in your computer, as the path to the installation folder may not be standard.
RapidMiner does not get the home only from the environment variables, but also from the System properties, such as in the PlatformUtilities class:
I do use RapidMiner from my application in this way. All you have to do is ask the user for the installation folder of RapidMiner and set it as:
Cheers,
Alfredo.