🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to redirect user-home folder?

User: "UF_AT_LearningSpaces"
New Altair Community Member
Updated by Jocelyn
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

P.S. @sgenzer suggested I tag @Marco_Boeck because he's awesome and may know the answer.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Marco_Boeck"
    New Altair Community Member
    Accepted 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,
    Marco