From owner-freebsd-questions@FreeBSD.ORG Fri May 1 00:58:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20972106566B for ; Fri, 1 May 2009 00:58:36 +0000 (UTC) (envelope-from windforce150@vip.qq.com) Received: from smtpbg94.qq.com (smtpbg94.qq.com [119.147.10.253]) by mx1.freebsd.org (Postfix) with SMTP id 3C0988FC18 for ; Fri, 1 May 2009 00:58:34 +0000 (UTC) (envelope-from windforce150@vip.qq.com) X-QQ-mid: esmtp3t1241139510t5t2107 Received: from esmtpproxy (unknown [61.150.43.46]) by esmtp3.qq.com (ESMTP) with SMTP id 0 for ; Fri, 01 May 2009 08:58:29 +0800 (CST) Date: Fri, 1 May 2009 08:58:31 +0800 From: =?utf-8?B?5byg6Ie7?= To: freebsd-questions@freebsd.org Message-ID: <20090501005831.GA30180@my.cn> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: About javaws X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?utf-8?B?5byg6Ie7?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2009 00:58:36 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hello, everybody. I have installed diablo-jdk16 on my FreeBSD 7.1 system. However, when I run the TopCoder Competition Arena, it failed to validate the certificate. And the details out put are below java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.validator.PKIXValidator.(PKIXValidator.java:59) at sun.security.validator.Validator.getInstance(Validator.java:161) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(TrustDecider.java:335) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(AppPolicy.java:217) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1240) at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1077) at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:704) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:175) at com.sun.javaws.Launcher.launch(Launcher.java:95) at com.sun.javaws.Main.launchApp(Main.java:300) at com.sun.javaws.Main.continueInSecureThread(Main.java:210) at com.sun.javaws.Main$1.run(Main.java:107) at java.lang.Thread.run(Thread.java:619) Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183) at java.security.cert.PKIXParameters.(PKIXParameters.java:103) at java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:87) at sun.security.validator.PKIXValidator.(PKIXValidator.java:57) ... 12 more And this is my pkg_info output: %pkg_info |grep jdk diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 Can anyone help to man the TopCoder Competition Arena run ok? It is in the attachement. -- #################################### # 欢迎访问我的小站 # # http://zhangzhen.czm.cn # #################################### --mYCpIKhGyMATD0i+--