go on dos prompt using start/run and type command there. write command on dos prompt , Set see , u will find environment variables there. have a nice time with your environment variable
From Java, there really isn't a supported way to do this (violates platform independence since not all platforms possess the concept of environmnet variables). There used to be a depracated method on System to do this (getenv()). hth, bear