this is for standalone apps and
j2ee
i assumed that System.getProperties() also returns properties set by us in the OS variables. especially as i read that on MAC that is the only way to send options to
java as program arguments are not supported.
but it seems we must send user properties as -DpropName=value1
even though the batch program starting java can see the OS property we are interested in.
if anyone has mac - is this the case with java on mac too?
shouldn't java pass us all OS properties? it does initialize user.dir , user name etc from windows so why not take all?