register
other register

Wednesday, June 08, 2011

Proxy setting

If you are behind firewall, and your application need internet connection, then put the following code in your ~/.bash_profile

JAVA_OPTS="-Dhttp.proxyHost=yourProxyFileName -Dhttp.proxyPort=8080"
export JAVA_OPTS

Then refresh the console using:

. ~/.bash_profile

No comments: