Config File

97 views
Skip to first unread message

Dave Witkin

unread,
Jun 25, 2013, 8:26:59 AM6/25/13
to super...@googlegroups.com
Hi. Is there any way to move the configuration file (.superbcalc.xml) to a user-defined location -- somewhere other than the user's home directory?

Thanks.

super...@mariottini.net

unread,
Jun 27, 2013, 12:07:22 PM6/27/13
to super...@googlegroups.com
Hi Dave,
actually SuperbCalc saves its configuration file in the "user.home" java property, that the Java subsystem initializes with the user home directory.
 
There is the possibility to change this directory passing an argument to the Java virtual machine, for example to save the configuration file in the "C:\Dave" folder:
 
java -Duser.home=C:\Dave -jar superbcalc.jar
 
Let me know if this works for you.
 
Ciao
Roberto

Dave Witkin

unread,
Jun 27, 2013, 1:04:24 PM6/27/13
to super...@googlegroups.com
Hi Roberto. Worked like a charm.

Thank you!

--
Dave Witkin
(202) 596-9050 (Office / Mobile)
email: dwi...@wconsultingllc.com


--
You received this message because you are subscribed to a topic in the Google Groups "SuperbCalc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/superbcalc/etQJ8toEloo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to superbcalc+...@googlegroups.com.
To post to this group, send email to super...@googlegroups.com.
Visit this group at http://groups.google.com/group/superbcalc.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages