Ok assuming you can do 3 __where__ is the standard place for the property files 
per user per machine? I think it is best to write a software installer program 
to do this task. It would write the property file to `user.home' say and the 
main application would know where to look for it and load that file and make it 
a environment settings default. 

Peter

______________________________ Reply Separator _________________________________
Subject: Re: Reading (All) Environment Variables in W95/NT
Author:  summer ([EMAIL PROTECTED]) at lon-mime
Date:    14/12/98 23:09



3  Use java.util.Properties. This is what it's for. Here's what the stored 
format looks like:
[summer@possum etc]$ cat sp.profile
#Some comments supplied by app
#Mon Dec 14 13:38:48 GMT 1998
watchthis=BHP
dbserver=http://database/cgi-bin/
MyCharts.y=698
MyCharts.x=1216
watchlist=http://database/cgi-bin/list 
[summer@possum etc]$ 


> I am getting some requests from NT users on an application that I wrote on 
> a Java/Linux environment. I have a Java application that runs fine on Unix 
> and I am trying to get to run perfectly on NT. I have a run time shell 
> script that passes the entire environment to the JVM using a system 
> property.
> 
>         java -Denv=`env` xenon.xsql.editor.Xsql 
> 

Reply via email to