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
How to redirect user-home folder?
UF_AT_LearningSpaces
Member, University Professor Posts: 2 University Professor
Hello,
Towards the bottom of the guide to install rapidminer studio in a university lab environment there is mention of the ability to specify the property rapidminer.user-home on program startup. I tried to pass it like the guide suggests, but no luck. For example, based on the guide I assumed the following would work:
-Drapidminer.user-home=c:\testing</code><code>"C:\Program Files\RapidMiner\RapidMiner Studio\RapidMiner Studio.exe"What I would expect the above to do is change the location of the .RapidMiner folder from the current user's profile, to c:\testing or c:\testing\.RapidMiner. However, .RapidMiner still gets created under the current user profile.
I tried searching, but I don't think I saw any posts/kb on this, so appreciate any help.
Thanks,
Steve
3
Best Answer
-
Marco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM EngineeringHi,
The problem is that the arguments you append to the shortcut to the .exe are passed to RapidMiner itself, instead of the JVM.
You cannot use the .exe for this at the moment, you will need to start Studio via the RapidMiner-Studio.bat file which you need to modify:
Line 158 needs to be changed from"%JAVA%" %JVM_OPTIONS% -cp "%RAPIDMINER_HOME%"\lib\* com.rapidminer.launcher.GUILauncher %CMD_LINE_ARGS%
to"%JAVA%" -Drapidminer.user-home=C:/testing %JVM_OPTIONS% -cp "%RAPIDMINER_HOME%"\lib\* com.rapidminer.launcher.GUILauncher %CMD_LINE_ARGS%
Regards,
Marco8
Answers