Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to fix java.net.UnknownHostException error
How to fix java.net.UnknownHostException error [message #892185] Wed, 27 June 2012 10:43
ch faisal is currently offline ch faisalFriend
Messages: 3
Registered: June 2012
Junior Member
Greetings

I have following errors in Eclipse during program execution, kindly let me know how to fix these errors.

java.net.UnknownHostException: www.sunniforum.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.faisal.vbulletin.parser.Parser.pageContents(Parser.java:150)
at com.faisal.vbulletin.parser.Parser.parseTopic(Parser.java:57)
at com.faisal.vbulletin.parser.Parser.main(Parser.java:41)



I have added following details as VM arguments:

-Dhttp.proxySet=true -Dhttp.proxyHost=xxxxx -Dhttp.proxyPort=xxxx -Dhttp.proxyUser=xxxx -Dhttp.proxyPassword=xxxx -Dhttps.proxySet=true -Dhttps.proxyHost=xxxx -Dhttps.proxyPort=xxxx -Dhttps.proxyUser=xxxx -Dhttps.proxyPassword=xxxxx

Regards
Previous Topic:Eclipse program execution error
Next Topic: creating xml schema from the above java code
Goto Forum:
  


Current Time: Thu Sep 26 15:03:04 GMT 2024

Powered by FUDForum. Page generated in 0.03531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top