MarkVrenken
asked on
Netbeans/Java cannot connect to the internet
Dear Experts,
I have installed Netbeans 7.2.1 on my offices pc and have a problem connecting to the internet. I cannot make any connection, for example i cannot check for updates, when i do i get the error:
after searching google i added the following environment variable to my pc:
variable name: _JAVA_OPTIONS
and set the value to: -Djava.net.preferIPv4Stack =true
however this didn't solve my problem,
does anybody have a solution for this???
Kind regards,
Mark Vrenken
I have installed Netbeans 7.2.1 on my offices pc and have a problem connecting to the internet. I cannot make any connection, for example i cannot check for updates, when i do i get the error:
Check your proxy settings or try again later. The server may be unavailable at the moment. You may also want to make sure that your firewall is not blocking network traffic.
after searching google i added the following environment variable to my pc:
variable name: _JAVA_OPTIONS
and set the value to: -Djava.net.preferIPv4Stack
however this didn't solve my problem,
does anybody have a solution for this???
Kind regards,
Mark Vrenken
Do you need a proxy to connect to the Internet? ie. is one set in your browser?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi CEHJ and mccarl,
thanks for your responses:)
Indeed i have a proxy configured. But this is already set up in my browser, and when i select the option use browser proxy, the issue isn't solved. also tried manualy insert the same config.pac as in my browser, this didn't solve my issue either. I figured out that I run a 64-bit windows and had java 32 bit installed as well as an older version of java 64 bit. Now updated to the newest version of java 64 bit but still didn't solve my issue. Any other things i can try?
Cheers,
Mark Vrenken
thanks for your responses:)
Indeed i have a proxy configured. But this is already set up in my browser, and when i select the option use browser proxy, the issue isn't solved. also tried manualy insert the same config.pac as in my browser, this didn't solve my issue either. I figured out that I run a 64-bit windows and had java 32 bit installed as well as an older version of java 64 bit. Now updated to the newest version of java 64 bit but still didn't solve my issue. Any other things i can try?
Cheers,
Mark Vrenken
What did you do in the Control Panel applet?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi mccarl and CEHJ,
Thank you both for your help! It was indeed the proxy config that was the problem! so now my netbeans has a connection to the internet:).
The next horde will be configuring my ODataConsumer(OData4j) with the proxy settings to get a connection established. But i am happy to have eliminated the first roadblock!
Kind regards,
Mark
Thank you both for your help! It was indeed the proxy config that was the problem! so now my netbeans has a connection to the internet:).
The next horde will be configuring my ODataConsumer(OData4j) with the proxy settings to get a connection established. But i am happy to have eliminated the first roadblock!
Kind regards,
Mark
I'll test it when i get time, but i'd be surprised if Netbeans did not observe proxy settings already at force for the jvm