i want to set a jvm variable with any of the Windows environment variables, say suppose WINDIR. ie is there way i can set as -Dwindir=WINDIR where the windir will have the value of WINDIR.
EDIT: when tried with -Dwindir=WINDIR it is directly assigning a string value of "WINDIR" which i am not interested in.
Thanks.