Compare Revisions

Use the Java plugin to view interactive content on websites

Revision 115623:

Revision 115623 by AliceWyman on

Revision 133290:

Revision 133290 by AliceWyman on

Keywords:

Search results summary:

Some websites use Java for interactive content such as games. Learn how to install or update Java and get it working in Firefox.
Some websites use Java for interactive content such as games. Learn how to install or update Java and get it working in Firefox.

Content:

{for fx42,win7,win8,win10} <!--Windows 64-bit Firefox requires Windows 7 or above (bug 1093741)--> {warning}'''Important:'''<br> The new [https://blog.mozilla.org/futurereleases/2015/12/15/firefox-64-bit-for-windows-available/ Windows 64-bit version of Firefox] does not recognize or support this plugin.{/warning} {/for} Many web pages use [http://en.wikipedia.org/wiki/Java_applet Java applets] for interactive content such as online games. Before Firefox can run Java applets you must have the Java plugin properly installed and enabled. [http://en.wikipedia.org/wiki/Java_%28programming_language%29 Java is a programming language] that can run on Windows, Mac, Linux, and other computer systems. This article will help you install or update Java and get it working in Firefox. *[http://www.java.com/en/download/faq/whatis_java.xml Java] is not the same as JavaScript (see [[JavaScript settings and preferences for interactive web pages|this article]] for information about JavaScript). __TOC__ = Installing or updating Java = {for win} == Manual install or update == # Go to the [http://java.com/download/ download page at java.com]. # Click the {button Free Java Download} button. # Click the {button Agree and Start Free Download} button to download the Java installer to your computer. # After the download is complete, close Firefox. # Open the file you downloaded to start the Java installation. == Automatic update == Java for Windows includes an automatic update feature that periodically checks for updates and notifies you when an update is available for installation. You can view or change your update settings in the Update tab of the Java Control Panel, where you can also manually check for updates. For more information, see the Java Help page, [https://www.java.com/en/download/help/java_update.xml What is Java Auto Update? How do I change notify settings?]. To eliminate potential security vulnerabilities and to save disk space, you should remove any older Java versions that may still be installed. For more information, see the Java Help page [http://www.java.com/en/download/uninstall.jsp How do I uninstall Java on my Windows computer?]. {/for} {for mac} == Mac OS X 10.6{for not fx17} and below{/for} == Java is installed with the operating system. To update Java, use the [http://support.apple.com/kb/HT1338 Mac OS X Software Update] feature. == Mac OS X 10.7 and above == Java is not installed by default. To install the latest version of Java, go to the [http://java.com/download/ download page at java.com]. See the Java Help page [http://www.java.com/en/download/help/mac_install.xml How do I install Java for my Mac?] for system requirements and installation instructions. To update Java, go to your Apple ''System Preferences'', click the ''Java'' icon to launch the Java Control Panel, then go to the ''Update'' tab and click on the {button Update Now} button. See the Java Help page [http://www.java.com/en/download/help/mac_java_update.xml How do I update Java for my Mac?] for details. {/for} {for linux} See Oracle's [http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html Manual Installation and Registration of Java Plugin for Linux] article for help installing or updating Java on your Linux system. {/for} = Testing Java = To test whether Java is installed and enabled in Firefox, visit one of these Java test pages: * [http://www.java.com/en/download/installed.jsp?detect=jre Verify Java Version] * [http://www.java.com/en/download/installed.jsp Verify Java Version] (alternate) {note}'''Note:''' When you visit pages with Java content, including these test pages, you will normally be asked to activate Java and allow it to run. You should [[How to allow Java on trusted sites|only allow Java on trusted sites]]. You may also see a Java security prompt asking you to confirm that you want to run Java. This security message is from Java, not Firefox. For more information see the Java help page [http://www.java.com/en/download/help/appsecuritydialogs.xml What should I do when I see a security prompt from Java?].{/note} = Enabling Java = If Java is not working, make sure that the Java plugin is enabled in the Add-ons Manager: # [[T:Open Add-ons|type=Plugins]] # Click on the {for win}'''Java(TM) Platform''' plugin{/for}{for mac}'''Java Applet Plug-in'''{/for}{for linux}'''Java''' plugin{/for} to select it. # If Java is disabled, click on {button Never Activate} to open its drop-down menu and select the option to activate Java. The recommended (default) option is {menu Ask to Activate}, which lets you run Java when prompted. {for win}{note} '''Note:''' You only need to enable the "Java(TM) Platform" plugin, if it is disabled. The "Java Deployment Toolkit" plugin is used by Java developers to detect your Java version and to deploy their Java applications and does not need to be enabled for Java to work.{/note}{/for} = Troubleshooting = If Java is installed but doesn't work, try these solutions: == Java plugin does not appear in the Add-ons Manager == If the Java plugin does not appear in the Add-ons Manager, even though Java is installed, try each of the following, one at a time, and then reopen Firefox to see if that resolves the problem: === Remove the pluginreg.dat file === With Firefox completely closed, delete (or rename) the ''pluginreg.dat'' file, located in the [[Profiles|Firefox profile folder]] (it will be regenerated once you restart Firefox but any other plugins you may have disabled will be enabled). See [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_re-initializing-the-plugins-database |Re-initializing the plugins database]] for detailed instructions. {for mac} === Make sure Firefox is not in 32-bit mode === The Java 7 plugin will only run in 64-bit browsers so confirm that you aren't running Firefox in 32-bit mode. #Open the Applications folder in Finder #[[T:contextmenu]] the Firefox.app #Select {menu Get Info} Make sure the box in front of {menu Open in 32-bit mode} is not checked (if it is, clear the checkbox). {/for} {for win, mac} === Make sure Java is enabled in the Java Control Panel === Starting in Java 7, the [http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/jcp.html Java Control Panel] includes the Security option, "Enable Java content in the browser", which is selected by default. De-selecting this option will prevent Java applets from running in any browser and the Java plugin will no longer appear in the Firefox Add-ons Manager. Make sure that {menu Enable Java content in the browser} is selected in the '''Java Control Panel''' Security tab. See [https://www.java.com/en/download/help/enable_panel.xml this Java Help page] for details. {/for} {for win} === Make sure the 32-bit version of Java is installed === On 64-bit Windows, if you only have the 64-bit version of Java installed, the Java plugin will not be available. Current Firefox releases are 32-bit browsers and you will need to install the '''32-bit''' version of Java. === Make sure plugin scanning is not disabled === Mozilla browsers use plugin scanning to locate installed plugins so you should make sure that the '''plugin.scan.plid.all''' preference has not been disabled: #[[T:aboutconfig]] #Search for the preference '''plugin.scan.plid.all''' #If it's been set to '''false''', right-click on it and select "Reset". === Uninstall JavaFX if installed === In some cases, after updating from an earlier Java version to Java 7 Update 10 or above, the '''Java(TM) Platform''' plugin is no longer detected. This can be caused by a conflict with Java and a standalone installation of JavaFX that prevents the Java plugin from being properly registered. To resolve the problem, uninstall JavaFX. For more information, see this [https://www.java.com/en/download/help/firefox_java.xml java.com help page]. {/for} == Other solutions == If Java is installed and enabled (see above) but isn't working properly, try the following: {for win} === Remove outdated Java plugin files === Make sure that multiple versions of the '''Java(TM) Platform''' plugin are not being detected. For example, if Java 7 Update 51 is currently installed, the Java(TM) Platform plugin in the Add-ons Manager tab should be listed as '''Java(TM) Platform SE 7 U51'''. If you see other "Java(TM) Platform" versions listed, uninstall the older versions (see [http://www.java.com/en/download/uninstall.jsp How do I uninstall Java on my Windows computer?]) or else remove them manually (see [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_manually-uninstalling-a-plugin|Manually uninstalling a plugin]]). {/for} === Check for other software that may block Java === Even if Java is installed and enabled in Firefox, it may be blocked by other software or Firefox add-ons, for example: {for win} * The ZoneAlarm Pro software firewall can block Java. For more information on enabling Java through this program, see [http://web.archive.org/web/20031021111230/http://forums.zonelabs.com/zonelabs/board/message?board.id=AllowAccess&message.id=61 the ZoneAlarm Pro forum]. {/for} * The NoScript extension for Firefox will block Java. For more information, see the [http://www.noscript.net/faq#qa1_8 NoScript FAQ]. = Additional resources = *The [http://www.java.com/en/download/faq/index_general.xml Java FAQs] page at java<!-- -->.com answers some frequently asked questions. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Java Java (mozillaZine KB)]'''''
[[T:PluginSupportEOL]] {for win7,win8,win10} <!--Windows 64-bit Firefox requires Windows 7 or above (bug 1093741)--> {note}'''Note:''' The [[How do I tell if I have the 32-bit or 64-bit Firefox?|64-bit version of Firefox]] does not recognize or support this plugin.{/note} {/for} Many web pages use [http://en.wikipedia.org/wiki/Java_applet Java applets] for interactive content such as online games. Before Firefox can run Java applets you must have the Java plugin properly installed and enabled. [http://en.wikipedia.org/wiki/Java_%28programming_language%29 Java is a programming language] that can run on Windows, Mac, Linux, and other computer systems. This article will help you install or update Java and get it working in Firefox. *[http://www.java.com/en/download/faq/whatis_java.xml Java] is not the same as JavaScript (see [[JavaScript settings and preferences for interactive web pages|this article]] for information about JavaScript). __TOC__ = Installing or updating Java = {for win} == Manual install or update == # Go to the [http://java.com/download/ download page at java.com]. # Click the {button Free Java Download} button. # Click the {button Agree and Start Free Download} button to download the Java installer to your computer. # After the download is complete, close Firefox. # Open the file you downloaded to start the Java installation. == Automatic update == Java for Windows includes an automatic update feature that periodically checks for updates and notifies you when an update is available for installation. You can view or change your update settings in the Update tab of the Java Control Panel, where you can also manually check for updates. For more information, see the Java Help page, [https://www.java.com/en/download/help/java_update.xml What is Java Auto Update? How do I change notify settings?]. To eliminate potential security vulnerabilities and to save disk space, you should remove any older Java versions that may still be installed. For more information, see the Java Help page [http://www.java.com/en/download/uninstall.jsp How do I uninstall Java on my Windows computer?]. {/for} {for mac} == Mac OS X 10.6{for not fx17} and below{/for} == Java is installed with the operating system. To update Java, use the [http://support.apple.com/kb/HT1338 Mac OS X Software Update] feature. == Mac OS X 10.7 and above == Java is not installed by default. To install the latest version of Java, go to the [http://java.com/download/ download page at java.com]. See the Java Help page [http://www.java.com/en/download/help/mac_install.xml How do I install Java for my Mac?] for system requirements and installation instructions. To update Java, go to your Apple ''System Preferences'', click the ''Java'' icon to launch the Java Control Panel, then go to the ''Update'' tab and click on the {button Update Now} button. See the Java Help page [http://www.java.com/en/download/help/mac_java_update.xml How do I update Java for my Mac?] for details. {/for} {for linux} See Oracle's [http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html Manual Installation and Registration of Java Plugin for Linux] article for help installing or updating Java on your Linux system. {/for} = Testing Java = To test whether Java is installed and enabled in Firefox, visit one of these Java test pages: * [http://www.java.com/en/download/installed.jsp?detect=jre Verify Java Version] * [http://www.java.com/en/download/installed.jsp Verify Java Version] (alternate) {note}'''Note:''' When you visit pages with Java content, including these test pages, you will normally be asked to activate Java and allow it to run. You should [[How to allow Java on trusted sites|only allow Java on trusted sites]]. You may also see a Java security prompt asking you to confirm that you want to run Java. This security message is from Java, not Firefox. For more information see the Java help page [http://www.java.com/en/download/help/appsecuritydialogs.xml What should I do when I see a security prompt from Java?].{/note} = Enabling Java = If Java is not working, make sure that the Java plugin is enabled in the Add-ons Manager: # [[T:Open Add-ons|type=Plugins]] # Click on the {for win}'''Java(TM) Platform''' plugin{/for}{for mac}'''Java Applet Plug-in'''{/for}{for linux}'''Java''' plugin{/for} to select it. # If Java is disabled, click on {button Never Activate} to open its drop-down menu and select the option to activate Java. The recommended (default) option is {menu Ask to Activate}, which lets you run Java when prompted. {for win}{note} '''Note:''' You only need to enable the "Java(TM) Platform" plugin, if it is disabled. The "Java Deployment Toolkit" plugin is used by Java developers to detect your Java version and to deploy their Java applications and does not need to be enabled for Java to work.{/note}{/for} = Troubleshooting = If Java is installed but doesn't work, try these solutions: == Java plugin does not appear in the Add-ons Manager == If the Java plugin does not appear in the Add-ons Manager, even though Java is installed, try each of the following, one at a time, and then reopen Firefox to see if that resolves the problem: === Remove the pluginreg.dat file === With Firefox completely closed, delete (or rename) the ''pluginreg.dat'' file, located in the [[Profiles|Firefox profile folder]] (it will be regenerated once you restart Firefox but any other plugins you may have disabled will be enabled). See [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_re-initializing-the-plugins-database |Re-initializing the plugins database]] for detailed instructions. {for mac} === Make sure Firefox is not in 32-bit mode === The Java 7 plugin will only run in 64-bit browsers so confirm that you aren't running Firefox in 32-bit mode. #Open the Applications folder in Finder #[[T:contextmenu]] the Firefox.app #Select {menu Get Info} Make sure the box in front of {menu Open in 32-bit mode} is not checked (if it is, clear the checkbox). {/for} {for win, mac} === Make sure Java is enabled in the Java Control Panel === Starting in Java 7, the [http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/jcp.html Java Control Panel] includes the Security option, "Enable Java content in the browser", which is selected by default. De-selecting this option will prevent Java applets from running in any browser and the Java plugin will no longer appear in the Firefox Add-ons Manager. Make sure that {menu Enable Java content in the browser} is selected in the '''Java Control Panel''' Security tab. See [https://www.java.com/en/download/help/enable_panel.xml this Java Help page] for details. {/for} {for win} === Make sure the 32-bit version of Java is installed === On 64-bit Windows, if you only have the 64-bit version of Java installed, the Java plugin will not be available. Current Firefox releases are 32-bit browsers and you will need to install the '''32-bit''' version of Java. === Make sure plugin scanning is not disabled === Mozilla browsers use plugin scanning to locate installed plugins so you should make sure that the '''plugin.scan.plid.all''' preference has not been disabled: #[[T:aboutconfig]] #Search for the preference '''plugin.scan.plid.all''' #If it's been set to '''false''', right-click on it and select "Reset". === Uninstall JavaFX if installed === In some cases, after updating from an earlier Java version to Java 7 Update 10 or above, the '''Java(TM) Platform''' plugin is no longer detected. This can be caused by a conflict with Java and a standalone installation of JavaFX that prevents the Java plugin from being properly registered. To resolve the problem, uninstall JavaFX. For more information, see this [https://www.java.com/en/download/help/firefox_java.xml java.com help page]. {/for} == Other solutions == If Java is installed and enabled (see above) but isn't working properly, try the following: {for win} === Remove outdated Java plugin files === Make sure that multiple versions of the '''Java(TM) Platform''' plugin are not being detected. For example, if Java 7 Update 51 is currently installed, the Java(TM) Platform plugin in the Add-ons Manager tab should be listed as '''Java(TM) Platform SE 7 U51'''. If you see other "Java(TM) Platform" versions listed, uninstall the older versions (see [http://www.java.com/en/download/uninstall.jsp How do I uninstall Java on my Windows computer?]) or else remove them manually (see [[Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems#w_manually-uninstalling-a-plugin|Manually uninstalling a plugin]]). {/for} === Check for other software that may block Java === Even if Java is installed and enabled in Firefox, it may be blocked by other software or Firefox add-ons, for example: {for win} * The ZoneAlarm Pro software firewall can block Java. For more information on enabling Java through this program, see [http://web.archive.org/web/20031021111230/http://forums.zonelabs.com/zonelabs/board/message?board.id=AllowAccess&message.id=61 the ZoneAlarm Pro forum]. {/for} * The NoScript extension for Firefox will block Java. For more information, see the [http://www.noscript.net/faq#qa1_8 NoScript FAQ]. = Additional resources = *The [http://www.java.com/en/download/faq/index_general.xml Java FAQs] page at java<!-- -->.com answers some frequently asked questions. <!-- MZ credit --> <br/> <br/> '''''Based on information from [http://kb.mozillazine.org/Java Java (mozillaZine KB)]'''''

Back to History