Originally posted by Yoo-Jin Lee:
Hi,
I would like to know if you could permanently set a System property. Like user.home or add a new one? I think you can, but I forgot which file to modify...?
Thanks in advance.
Yoo-Jin.
[This message has been edited by Yoo-Jin Lee (edited January 07, 2001).]
Hi Lee,
I guess the file you have to modify is System.Properties. You can get the Properties associated with the system using
System.getProperty().
If you want to set any property you can use
System.setProperty()--> added by
Java 2.
There are several system properties available like
java.version -- Java Runtime Environment version
java.vendor -- Java Runtime Environment vendor
java.vendor.url -- Java vendor URL
java.home -- Java installation directory
etc.
Refer the Java documentation for further details.
SJ