Article View: borland.public.jbuilder.java.language
Article #17150Re: file properties
From: Nick Ring
Date: Mon, 14 Dec 1998 00:00
Date: Mon, 14 Dec 1998 00:00
24 lines
1264 bytes
1264 bytes
On Thu, 10 Dec 1998 11:06:12 GMT, wbelcore@ats.it (walter b.) wrote: >I'm writing a prog and my source path and my class path is >c:\jbuilder2\myprog\. >I want save customer's preferences into properties file. > >Now I don't want insert source path into file propetrie name (because >when I deploy my program I install into c:\myprog or other path), but >without path I get file not found exception. >How can I solve this problem ? [...snip...] What I have found to be the best way is to store the properties in the user.home property location. This way, it doesn't matter where they install the program, there is always the same reference to it. The downside is that JDK1.1.7 and JDK1.2 don't point to the same "user.home" location. nick -- remove "NOSPAM." to get my real email address
Technical Details
Message-ID:
<36745b1e.166678@news.southcom.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<366fa36f.129539@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a1f1f00ec4f3d305 X-Google-Attributes: gidf74b3,public From: nring@NOSPAM.southcom.com.au (Nick Ring) Subject: Re: file properties Date: 1998/12/14 Message-ID: <36745b1e.166678@news.southcom.com.au> X-Deja-AN: 421953825 References: <366fa36f.129539@forums.borland.com> Organization: Customer of Southern Internet Services Newsgroups: borland.public.jbuilder.java.language