Friday, July 10, 2009

Something technical - Connection using proxy in eclipse

Though i have restrained myself by not entering some hard core technical things in this blog; it has sometimes negated my initial thinking of "Just Write"....

so adding some technical information.

I was recentrly facing a simple task of making a java program run which was making HTTP/LDAP connection using a proxy in eclipse. I tried various search terms in google but it pointed me to "adding proxt in install/update of Eclipse". Finally i found out that by using "-Dhttp.proxyHost=host.example.com -Dhttp.proxyHost=7777" as the JVM params will resolve issue for any IDE java run. It does not have to be specific to Eclipse.

Hope someone else also finds this useful.

No comments: