您是否需要访问依赖旧Java 技术(Java technology)的网站和 Web 服务?您是否(Did)在您的计算机上安装了Java,但您的浏览器显示您的系统上不存在Java ?为什么Java不能按应有的方式工作,您如何使其在您最喜欢的Web 浏览器(web browser)中工作?这些是我们将在本指南中回答的问题。我们将向您展示如何在所有主要的Web 浏览器中启用(web browser)Java ,而这仍然是可能的。如果Java在(Java)Chrome、Firefox、Opera上不适合你,Internet Explorer 或 Microsoft Edge(Internet Explorer or Microsoft Edge),请继续阅读:
注意:(NOTE:)为了能够在您的Windows PC上使用(Windows PC)Java,您应该下载最新版本的 Java(download the latest version of Java),然后安装它。如果您已经拥有Java,但不知道哪个版本,我们推荐本教程:我安装了哪个版本的Java?3学习答案的方法(Ways)
如何在 Google Chrome 中启用 Java
2015年9 月(September 2015),Google决定在其Chrome 网络浏览器中删除对(Chrome web)Java的支持。Java 插件(Java plugin)基于一个名为Netscape Plugin API的旧(Netscape Plugin API)API ,该API一直存在安全问题。Google认为是时候让他们放弃这项旧技术,让Web 转向(Web move)更新、更安全的技术,例如HTML5。当您访问使用Java的(Java)网站或 Web 服务(website or web service)时,您现在会看到一条消息:“ Chrome 浏览器(Chrome browser)不支持NPAPI插件,因此不会运行所有Java 内容(Java content)。切换到其他浏览器(Mac上的Internet Explorer 或 Safari(Internet Explorer or Safari))来运行Java 插件(Java plug-in)。”
如果您需要在Google Chrome中使用(Google Chrome)Java,唯一的方法是安装一个名为IE Tab的(IE Tab)浏览器扩展(browser extension)。此扩展程序的名称来自Internet Explorer,它使用Internet Explorer 引擎在(Internet Explorer engine)Google Chrome中显示网页。Internet Explorer支持Java,这意味着您在Google Chrome中打开的IE 选项卡中获得(IE Tab)Java支持。🙂 这不是最直接的解决方案,但它有效,而且设置简单。
使用您的Google Chrome网络浏览器从Chrome 网上应用店(Chrome Web Store)打开 IE Tab 网页(open the IE Tab web page)。在那里,单击或点击右上角(click or tap)的(right corner)“添加(Add)到Chrome ”按钮,然后按“添加扩展程序(Add extension)”按钮确认您的选择以继续安装。
安装完成并将IE Tab 扩展(IE Tab extension)添加到Google Chrome后,您会看到IE Tab 文档打开,并且在(IE Tab documentation)Google Chrome 窗口(Google Chrome window)右上角的扩展列表中显示一个小的“e”按钮。
单击(Click)或点击“e”图标,IE Tab 会(icon and IE Tab)下载一个名为 ietabhelper.exe 的文件。它是IE Tab运行和完成其工作所需的可执行文件,因此您必须下载它。如果您想了解IE Tab为什么需要此文件的所有详细信息,您可以阅读(IE Tab)IE Tab在(IE Tab)Chrome中加载的“什么?为什么?常见问题”页面。
下载ietabhelper.exe 文件(ietabhelper.exe file)后,双击执行。Windows 可能会显示如下所示的安全警告(security warning)。如果您收到类似的提示,请单击或点按(click or tap) 运行(Run)以继续。
安装帮助文件(helper file)后,您可以在Google Chrome中继续使用(Google Chrome)IE Tab 和 Java(IE Tab and Java)。每次您访问在Google Chrome(Google Chrome)中无法正常运行的Java网页时,请单击或点击Chrome右上角的“e”按钮。它会打开一个新的IE Tab 选项卡(IE Tab tab),该选项卡使用Internet Explorer 引擎(Internet Explorer engine),并支持Java。如下图所示,我们的Chrome 网络(Chrome web)浏览器现在表明我们已安装推荐的Java 版本(Java version)。现在,您的Google Chrome 浏览器(Google Chrome browser)也能做到这一点。🙂
如何在Firefox中启用(Firefox)Java。简短的回答是:你不能!
与Google Chrome(Google Chrome)一样,Mozilla的Firefox也停止了对(Firefox)Netscape Plugin API的全面支持,并且从2017 年 3 月(March 2017)发布的Firefox 版本 52(Firefox version 52)开始,它不再能够原生运行Java小程序。最初,Mozilla提供了(Mozilla)Firefox的扩展支持版本(Release)( ESR ) 32 位版本,它继续提供对Java的支持。但是,从2018 年5 月 9 日开始,它发布了(May 9th)Firefox 版本 60 (Firefox version 60)ESR ,这是一个对Java(Java)零支持的全新浏览器。此外,自2018 年 9 月(September 2018)起,不再支持较旧的Firefox 52 ESR 版本(ESR version)(支持Java ) 。因此(Therefore),无论您下载和使用什么新版本的Firefox,都无法运行Java。
您的解决方案是切换到Internet Explorer或使用Google Chrome以及上一节中提到的解决方法。
如何在Internet Explorer中启用(Internet Explorer)Java
在Internet Explorer中,只要您安装了 Java,就会默认启用(Java)Java。你不应该做任何其他事情来让它工作。
如果出现任何问题并且遇到问题,则应检查此浏览器中是否启用了“Java 小程序脚本”(Java)选项。(Scripting)为此,请启动Internet Explorer 并单击(Internet Explorer and click)或点击右上角的(right corner)工具按钮(Tools button)。然后,单击Internet选项(Options)条目。
在Internet选项(Options)窗口的安全选项卡(Security tab)中,选择Internet 区域(Internet zone)并单击自定义级别(Custom level)按钮。
在“安全设置(Security Settings)-Internet区域”窗口中,滚动到“(Internet Zone window)设置”列表(Settings list)的底部。您应该会看到一个名为“ Java小程序(Java)脚本(Scripting)”的设置。要使Internet Explorer能够使用Java,您应该将其设置为Enabled或Prompt。
当您进行设置时,请先在Security Settings - Internet Zone 窗口(Internet Zone window)中按 OK ,然后在Internet Options中按 OK 。
如何在Microsoft Edge中启用(Microsoft Edge)Java
在Windows 10中,微软(Microsoft)决定放弃Internet Explorer并构建一个名为Microsoft Edge的新(Microsoft Edge)网络浏览器(web browser)。然而,就像Google 和 Mozilla(Google and Mozilla)一样,微软(Microsoft)也选择放弃旧的和易受攻击的插件,因此该公司决定不在Microsoft Edge中提供对(Microsoft Edge)Java小程序的支持。我们知道在Edge中打开的网站上运行Java 内容(Java content)的唯一方法是使用其“使用Internet Explorer打开”选项。在Microsoft Edge中,当您所在的网页(web page)使用Java,单击或点击窗口右上角的“设置(Settings)和更多”按钮,或按键盘上的window or press ALT+X然后,单击或点击“使用Internet Explorer(Internet Explorer)打开”条目。
如果您使用的是较新版本的Microsoft Edge,例如 Windows 10 October 2018更新中的版本,请单击或点击单击或点击“设置(Settings)和更多”,然后转到“更多工具”,然后转到“使用Internet Explorer打开”。
Windows 10在Internet Explorer中启动(Internet Explorer)网页(web page)。如果您的计算机上安装了Java,您就可以看到完整的网页内容(web page content)。
如何在 Opera 中启用 Java
Opera基于Chromium 技术,并(Chromium technology and shares part)与Google Chrome共享其部分代码库(code base)。直接结果是,当Google决定停止支持包括Java在内的(Java)NPAPI插件时,Opera也停止了对它们的支持。为了让事情变得更有趣,以一种自虐的方式,让Java(Java work)在Opera中工作比在Chrome中工作更复杂。
如果您想在Opera中使用(Opera)Java,首先您必须为Chrome制作(Chrome)IE Tab 扩展(IE Tab extension)才能在Opera中工作。要使Opera(Opera use)与Chrome扩展一起使用,请启动它并转到此网页:安装 Chrome 扩展(Install Chrome Extensions)。此扩展程序可让您在Opera 浏览器中从(Opera browser)Chrome 网上应用店(Chrome Web Store)下载、安装和使用任何扩展程序。单击(Click)或点击页面右上角的“+添加(Add)到Opera ”按钮。
然后,在Opera中安装Download Chrome Extension后,从 Chrome Web Store导航到IE Tab 页(IE Tab page from the Chrome Web Store)。单击(Click)或点击右上角的“添加(Add)到Opera ”按钮。
Opera告诉您要完成安装,您必须转到扩展管理器并单击安装按钮。首先(First),单击确定。
Opera 会打开一个包含所有已安装扩展的新选项卡。您会在列表中看到IE Tab 扩展名(IE Tab extension)。按安装按钮(Install button),然后单击“是,安装”确认安装。
然后,单击或点击“e”图标,IE Tab 会(icon and IE Tab)下载一个名为 ietabhelper.exe 的文件。它是IE (IE Tab)Tab(IE Tab)运行和完成其工作所需的可执行(IE Tab)文件歌剧(Opera)。
下载ietabhelper.exe 文件(ietabhelper.exe file)后,双击执行。Windows 可能会显示安全警告(security warning)。如果您看到它,请单击或点击运行(Run)以继续。在那之后,你就可以走了。下次您在Opera(Opera)中加载使用Java的网页时,单击或点击右上角的“e”按钮。它会打开一个新的IE Tab 选项卡(IE Tab tab),该选项卡使用Internet Explorer 引擎(Internet Explorer engine),并支持Java。
哪些网站仍在使用 Java?
Java在过去占有相当大的市场份额(market share)。虽然Google Chrome、Mozilla Firefox 和 Opera(Mozilla Firefox and Opera)等一些 Web 浏览器停止支持Java小程序,但其他一些浏览器从未支持它们,例如Microsoft Edge。今天,只有Internet Explorer等较旧的浏览器仍支持Java小程序。如果您仍需要使用Java,请在下方发表评论,让我们知道哪些站点和网页仍需要Java。我们很想知道。
How to enable Java in all the major web browsers
Do yоu need to viѕit websites and web services that rely on the old Java technologу? Did you install Java on your computer but your browser says that Java is not present on your system? Why isn't Java workіng as it should and how do you make it work іn yоur favorite web browsеr? These are the questiоns that we are going to аnswer іn this guide. We show you how to enable Jаva in all the major web browsers where that is still possible. If Java iѕ not working fоr you on Chrome, Firefox, Opera, Internet Explorer or Microsoft Edge, read on:
NOTE: To be able to use Java on your Windows PC, you should download the latest version of Java and then install it. If you already have Java, but you do not know which version, we recommend this tutorial: What version of Java do I have installed? 3 Ways to learn the answer
How to enable Java in Google Chrome
In September 2015, Google decided to remove the support for Java in their Chrome web browser. The Java plugin is based on an old API called Netscape Plugin API that has always had security issues. Google felt that it was time for them to let go of this old technology and make the Web move on to newer and safer technologies like HTML5. When you visit a website or web service that is using Java, you now see a message that says: "The Chrome browser does not support NPAPI plug-ins and therefore will not run all Java content. Switch to a different browser (Internet Explorer or Safari on Mac) to run the Java plug-in."
If you need to use Java in Google Chrome, the only way to do it is to install a browser extension called IE Tab. This extension gets its name from Internet Explorer, and it uses the Internet Explorer engine to display web pages in Google Chrome. Internet Explorer supports Java, and it means that you get Java support in the IE Tab that you open in Google Chrome. 🙂 It's not the most straightforward solution, but it works, and it is simple to set up.
Use your Google Chrome web browser to open the IE Tab web page from the Chrome Web Store. There, click or tap on the "Add to Chrome" button from the top right corner, and then confirm your choice by pressing the Add extension button to proceed with the installation.
When the installation is done, and the IE Tab extension added to Google Chrome, you see the IE Tab documentation opening, and a small "e" button displayed in the extensions list from the top right side of the Google Chrome window.
Click or tap the "e" icon and IE Tab downloads a file called ietabhelper.exe. It is an executable file that is required by IE Tab to run and do its job, so you have to download it. If you want all the details on why IE Tab needs this file, you can read the "What? Why? Frequently Asked Questions" page that IE Tab loaded inside Chrome.
After you have downloaded the ietabhelper.exe file, double-click on it to execute it. Windows may show a security warning like the one below. If you get a similar prompt, click or tap Run to continue.
After you have installed the helper file, you can get on with using IE Tab and Java, in Google Chrome. Each time you visit a web page with Java that does not work correctly in Google Chrome, click or tap the "e" button from the top-right corner of Chrome. It opens a new IE Tab tab that uses the Internet Explorer engine, with support for Java. As you can see from the image below, our Chrome web browser now states that we have the recommended Java version installed. Your Google Chrome browser now does the same. 🙂
How to enable Java in Firefox. The short answer is: You can't!
Just like Google Chrome, Mozilla's Firefox also stopped offering full support for the Netscape Plugin API, and it can no longer run Java applets natively, starting with Firefox version 52, which was released in March 2017. Initially, Mozilla provided an Extended Support Release (ESR) 32-bit version of Firefox, which continued to provide support for Java. However, starting with May 9th, 2018, it released Firefox version 60 ESR, which is an entirely new browser with zero support for Java. Also, the older Firefox 52 ESR version (which had support for Java) is no longer supported as of September 2018. Therefore, no matter what new version of Firefox you download and use, you cannot run Java.
Your solution is to switch to Internet Explorer or use Google Chrome and the workaround mentioned in the previous section.
How to enable Java in Internet Explorer
In Internet Explorer, Java is enabled by default, as long as you have Java installed. You should not have to do anything else to have it working.
If anything goes wrong and you encounter problems, you should check if the "Scripting of Java applets" option is enabled in this browser. To do that, launch Internet Explorer and click or tap its Tools button in the top right corner. Then, click the Internet Options entry.
In the Security tab of the Internet Options window, select the Internet zone and click the Custom level button.
In the Security Settings - Internet Zone window, scroll to the bottom of the Settings list. You should see a setting called "Scripting of Java applets." For Internet Explorer to be able to use Java, you should set this to either Enabled or to Prompt.
When you are down setting things, press OK first in the Security Settings - Internet Zone window, and then in Internet Options.
How to enable Java in Microsoft Edge
In Windows 10, Microsoft decided to let go of Internet Explorer and build a new web browser called Microsoft Edge. However, just like Google and Mozilla, Microsoft also chose to let go of old and vulnerable plugins, so the company decided not to offer support for Java applets in Microsoft Edge. The only way we know to run Java content on a website opened in Edge is to use its "Open with Internet Explorer" option. In Microsoft Edge, when a web page you are on uses Java, click or tap the "Settings and More" button from the top right side of the window or press ALT+X on your keyboard. Then, click or tap the "Open with Internet Explorer" entry.
If you are on a newer version of Microsoft Edge, like the one from Windows 10 October 2018 update, click or tap click or tap "Settings and More" and then go to "More tools" followed by "Open with Internet Explorer."
Windows 10 launches the web page inside Internet Explorer. If Java is installed on your computer, you are then able to see the full web page content.
How to enable Java in Opera
Opera is based on the Chromium technology and shares part of its code base with Google Chrome. As a direct result, when Google decided to stop supporting NPAPI plugins, including Java, Opera stopped supporting them too. To make things even more interesting, in a masochistic way, it is even more complicated to make Java work in Opera than it is in Chrome.
If you want Java in Opera, first you have to make the IE Tab extension for Chrome to work in Opera. To make Opera use with Chrome extensions, launch it and go this web page: Install Chrome Extensions. This extension lets you download, install and use any extension from the Chrome Web Store in your Opera browser. Click or tap on the "+ Add to Opera" button from the top right side of the page.
Then, after Download Chrome Extension is installed in Opera, navigate to the IE Tab page from the Chrome Web Store. Click or tap the "Add to Opera" button from the top right.
Opera tells you that to complete the installation, you must go to the extensions manager and click the install button. First, click OK.
Opera opens a new tab with all installed extensions. You see the IE Tab extension on the list. Press the Install button, and then confirm the installation by clicking "Yes, install."
Then, click or tap the "e" icon and IE Tab downloads a file called ietabhelper.exe. It is an executable file that is required by IE Tab to run and do its job If you want all the details on why IE Tab needs this file, you can read the "What? Why? Frequently Asked Questions" page that IE Tab loaded inside Opera.
After you have downloaded the ietabhelper.exe file, double-click on it to execute it. Windows may show a security warning. If you see it, click or tap Run to continue. After that, you are good to go. The next time you load a web page in Opera that uses Java, click or tap the "e" button from the top-right corner. It opens a new IE Tab tab that uses the Internet Explorer engine, with support for Java.
Which websites still use Java?
Java had quite a significant market share in the past. While some web browsers like Google Chrome, Mozilla Firefox and Opera stopped supporting Java applets, others never supported them, like Microsoft Edge. Only older browsers like Internet Explorer still support Java applets today. If you still need to use Java, share a comment below in which you let us know which sites and web pages still require Java. We are curious to know.