Go to my computer -> rt click -> properties -> Advanced Tab -> Select the Environment Variables -> Add a new System variable (Same way you add JAVA_HOME or path or class path while installing j2re)
There enter the following...
Variable name : JAVA_OPTS
Variable Value : -Dhttp.proxyHost=YOUR_PROXY ...
