Change Spark location of user profile directory

Hi all,

I’m a spark user and i’ve compiled and customize the spark client. I’m interested in change the spark user profile normally placed in c:\document and setting\user\spark, is it possible to change the location of this directory?

¡'ve been watching into spark.java and i’ve find the USER_SPARK_HOME variable, is this the variable correct to change or not ?

How i can do it ?

Best regards.