简体   繁体   English

每当加载Java小程序时发生错误

[英]Error whenever a java applet is loaded

For the past few months or so, I've been getting an error whenever I attempt to use a java applet. 在过去的几个月左右的时间里,每当尝试使用Java小程序时都会出现错误。
I'm getting this error on every browser I use, and I get the error occasionally in linux, too. 我在使用的每个浏览器上都收到此错误,并且在Linux中也偶尔收到此错误。 The java applet loads for roughly 5 seconds or so, then it stops and I get two error messages, stating that an exception occurred ( java.io.EOFException ). Java applet加载大约5秒钟左右,然后停止,并收到两条错误消息,指出发生了异常( java.io.EOFException )。
This seems to happen regardless of what website I'm using. 无论我使用哪个网站,这似乎都会发生。 Going to the website shows I'm running java 6 update 20, and I get no error. 转到网站显示我正在运行Java 6 update 20,并且没有收到任何错误。 Googling the error turns up nothing useful - I'm not a java developer, so most of the results don't apply to me at all. 谷歌搜索错误没有任何用处-我不是Java开发人员,因此大多数结果根本不适用于我。
My question is this. 我的问题是这个。 What's causing this error, and what can I do to fix whatever issue is causing it? 是什么导致此错误,我该如何解决导致此错误的任何问题?

Nevermind. 没关系。 I looked further, turns out I had to delete the trusted.certs file under ~/Application Data/Sun/Java/Deployment/Security (~/.java/deployment/security in linux). 我进一步看了看,原来我必须删除〜/ Application Data / Sun / Java / Deployment / Security(在Linux中是〜/ .java / deployment / security)下的Trusted.certs文件。 That solved the problem. 那解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM