How to redirect user-home folder?
UF_AT_LearningSpaces
New Altair Community Member
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
Tagged:
3
Best Answer
-
Hi,
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,
Marco3
Answers
-
Hi,
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,
Marco3 -
you never disappoint, @Marco_Boeck Thank you.0
-
Awesome, I'm going to test this out shortly, but I have a good feeling about itOn a slightly related note, is there a silent/unattended install switch available? I think /s used to work on older versions, but it doesn't appear to be working for me now.EDIT: Nevermind, it appears the switch is case sensitive and must be capitalized, so /S works.0