Originally posted by Subhadip Chatterjee:
Hi Folks,
...
Give me example for UNIX, as well as Windows system.
I pass them via the command line, using the
-D option.
If my database info is defined in the operating system property
db, I use:
On Unix:
On Windows:
In java, the property can be retrieved by this code:
Java also has the function
It was deprecated in java 1.4, but isn't anymore since java 1.5.
Regards, jan
[ January 29, 2007: Message edited by: Jan Cumps ]