The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
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.