无法在Mac上运行topcoder竞技场

时间:2012-02-16 17:20:42

标签: java

我无法在Mac上运行topcoder竞技场..

当我尝试从safari登录topcoder时,它说Java找不到。

所以我下载.jnlp ....但仍然无法运行

这是我的Java版本:

java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

以下是从我的Mac Air运行.jnlp时的错误消息:

Operation timed out
java.net.ConnectException: Operation timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    at java.net.Socket.connect(Socket.java:529)
    at java.net.Socket.connect(Socket.java:478)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:234)
    at sun.net.www.http.HttpClient.New(HttpClient.java:307)
    at sun.net.www.http.HttpClient.New(HttpClient.java:324)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(BasicHttpRequest.java:179)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(BasicHttpRequest.java:67)
    at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(DownloadEngine.java:977)
    at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(DownloadEngine.java:882)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1619)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1578)
    at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:215)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(LaunchDownload.java:1983)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)

此外,我的safari肯定已经开启了Java ...

1 个答案:

答案 0 :(得分:1)

该错误消息并不表示您找不到Java - 它是ConnectionTimedOut,它表示您可能被防火墙阻止,或者topcoder上的服务器以某种方式被清除。