title: Eclipse not connecting to internet via proxy
body: <p>My eclipse(juno 4.2, centos 5.6) doesn't connect to internet. At all. I have a proxy server setup.</p>
  
  <p>I had a look at <a href="https://stackoverflow.com/questions/7778484/eclipse-can-not-connect-to-internet">Eclipse can not connect to internet</a>
  and at various other questions. So, at the moment, my eclipse.ini file looks like this:</p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
  -Dhttp.proxyHost=192.168.1.21
  -Dhttp.proxyPort=3128
  -Dhttp.nonProxyHosts=localhost|127.0.0.1
  -Djava.net.preferIPv4Stack=true
  --launcher.library
  plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
  -showsplash
  org.eclipse.platform
  --launcher.XXMaxPermSize
  256m
  --launcher.defaultAction
  openFile
  -vmargs
  -Xms40m
  -Xmx512m
  </code></pre>
  
  <p>I also tried setting proxy server values in the preferences(preferences/Network Connections) - set the HTTP, HTTPS, SOCKS host, port &amp; credentials. But none of the Active Provider settings(Manual, Native, Direct) work for me.</p>
  
  <p>I've spent enough time on this to know that I need help. Badly. :P</p>
  
  <p>So, here I am...help!!</p>