简体   繁体   English

无法让 Java Applet 在任何浏览器中工作

[英]Cannot get Java Applets to work in any browser

We are trying to download something from GE that uses Java to download when logging into the site.我们正在尝试从 GE 下载一些在登录站点时使用 Java 进行下载的内容。 This is a windows 7 Professional PC.这是一台 Windows 7 专业电脑。 I have other computers that are able to do this successfully.我有其他能够成功执行此操作的计算机。 Here is my order of operations:这是我的操作顺序:

  1. Log into the site and select the file I want to download登录网站并选择我要下载的文件

  2. Click download点击下载

  3. It takes me to the page that says it will start in a few seconds but nothing happens.它把我带到了页面,上面写着它会在几秒钟内启动,但没有任何反应。 It is supposed to have a box that asks for Java to run.它应该有一个要求 Java 运行的框。

I have reinstalled Java fresh and still nothing.我已经重新安装了 Java,但仍然没有。 Tried with multiple user accounts.尝试使用多个用户帐户。 Added the site to the list of exceptions in the firewalls and Java configuration.将该站点添加到防火墙和 Java 配置中的例外列表中。 I have tried an earlier version of Java.我尝试过早期版本的 Java。 This happens in Mozilla, Chrome and IE.这发生在 Mozilla、Chrome 和 IE 中。 I have made sure that the Java plugin shows up and is enabled.我已确保 Java 插件显示并已启用。 I just cant think of what I am missing.我只是想不出我错过了什么。 And since we are a contractor GE is not going to help us.而且由于我们是承包商,GE 不会帮助我们。 Can anyone here think of anything?这里有人能想到什么吗?

Are you sure you have the Java plugin enabled?您确定启用了 Java 插件吗? eg in Firefox, go to Settings, Plugins, and change Java Platform SE8 'Next Generation Java Plugin' to 'always activate'?例如,在 Firefox 中,转到“设置”、“插件”并将 Java 平台 SE8 的“下一代 Java 插件”更改为“始终激活”?

This sounds similar to the issues I had with Cisco WebVPN, Java-style.这听起来类似于我在 Java 风格的 Cisco WebVPN 中遇到的问题。 Once you have Java installed correctly and set as a plugin for any of the browsers you would like to use, see below.一旦您正确安装了 Java 并将其设置为您想要使用的任何浏览器的插件,请参见下文。

Before you even start looking at browsers - if you think it is already set up correctly在您开始查看浏览器之前 - 如果您认为它已经正确设置

  1. Look at your Anti-Virus programs or anything else that could prevent it from working.查看您的防病毒程序或其他任何可能阻止其工作的程序。 McAfee Host Intrusion Protection is known to cause many Java programs to fail.众所周知,McAfee Host Intrusion Protection会导致许多 Java 程序失败。 Kapersky had issues, a while back, with Java on Windows ( Java Applets not loading in Windows 8 ).卡巴斯基不久前在 Windows 上使用 Java 时遇到了问题( Java 小程序未在 Windows 8 中加载)。
  2. You must have a 64-bit browser to use 64-bit Java (also mentioned in the Chrome link below).您必须有 64 位浏览器才能使用 64 位 Java(也在下面的 Chrome 链接中提到)。

See below for any specific things that can be modified in the browser.有关可以在浏览器中修改的任何特定内容,请参见下文。


Chrome 43 is the more complicated browser to set up. Chrome 43是设置起来更复杂的浏览器。 They have a dedicated page with instructions.他们有一个带有说明的专用页面。

How do I use Java with the Google Chrome browser?如何在 Google Chrome 浏览器中使用 Java?


Firefox 38 will prompt you. Firefox 38会提示您。

在此处输入图片说明


In Internet Explorer 11 , it's under Internet Options->Security .Internet Explorer 11 中,它位于Internet Options->Security 下 I recommend adding the hostname the applet is on as a Trusted Site (Select Trusted Sites and click the Sites button, then add the first part of the url).我建议将小程序所在的主机名添加为受信任站点(选择受信任站点并单击站点按钮,然后添加 url 的第一部分)。 Click the Custom level button and make sure that Scripting of Java applets is not disabled.单击自定义级别按钮并确保未禁用Java 小程序的脚本编写

IE安全设置

If you still have problems with the applet:如果小程序仍有问题:

  1. Verify your Java version will work with the applet you are accessing验证您的 Java 版本是否适用于您正在访问的小程序
  2. Verify the plugin is enabled for the browser through the Java Control Panel, which is available in Windows Control Panel, or on Mac/Linux, execute it from the JDK directory ($JAVA_HOME/ControlPanel ).通过 Java 控制面板(在 Windows 控制面板中提供)验证浏览器是否启用了插件,或者在 Mac/Linux 上,从 JDK 目录 ($JAVA_HOME/ControlPanel ) 执行它。

I ended up fixing the issue.我最终解决了这个问题。 I had to allow their UK site on the list for Java and enable the SSL 2.0 for HTTP in Java config as well我不得不在 Java 列表中允许他们的英国站点,并在 Java 配置中为 HTTP 启用 SSL 2.0

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

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