With many enhancements compared to its cousin mozilla browser, Firefox had quickly gained its popularity as a fast, safe, and efficient browser. JPI should support Firefox in its Mustang timeframe. This support includes: (1) Recognition of Sun Java Plugin (2) Registration of Sun Java VM with Firefox (3) Java Console for Firefox This CR involves. As such, Firefox 5.0.1 was released this week with workarounds for an issue in Mac OS X 10.7 that would cause Firefox to crash, as well as for an issue caused by Apple's 'Java for Mac OS X 10.6. The Java Plugin for web browsers relies on the cross-platform plugin architecture NPAPI, which had been supported by all major web browsers for over a decade. The 64 bit version of Firefox has never supported NPAPI, and Firefox version 52ESR is the last release to support the technology. It is below the security baseline, and no longer supported.
From MozillaZine Knowledge Base
Java is a programming language originally developed by Sun Microsystems (now Oracle). Many web pages use Java applets for interactive content such as online games. To run these Java applets, you need the 'Java Runtime Environment' ('JRE') installed and enabled. Note that Java is not the same as JavaScript. See JavaScript is not Java for more information.
Starting in Firefox 3.6, Java will not work unless you are using the Next-Generation Java Plug-In (included in Java 6 Update 10 and above). [1]
Important: Mozilla adds outdated or insecure plugins to its Add-ons Blocklist as a security measure. Depending on the version of Java and your Mozilla browser, the Java plugin may be disabled in the Firefox or SeaMonkey Add-ons Manager or the Java plugin may require Click to Play (CTP) activation. See this blog post for details. [2] [[3]
Testing Java
Visit one of these Java test pages to see if Java is working in your browser. In current Mozilla browsers, you'll need to activate Java. With recent Java versions, you'll also need to confirm that you want to run Java, if prompted.
Note: At time of writing, the Java test pages listed below will cause an 'Application Blocked' error when Java is activated, due to security changes in Java 7 Update 51:
See Java security prompts (below) for more information on Java prompts and security blocks.
[edit]
Enabling Java
If Java is installed but isn't working, make sure that the Java plugin is enabled in the Add-ons Manager Plugins list (see Managing installed plugins for more information). [4]
The Java plugin name shown will depend on your operating system and Java version. On Mac OS, the Java plugin is shown as Java Applet Plug-in (on Mac OS X 10.6 or below, it may also be listed as Java Plug-in 2 for NPAPI Browsers). On Windows, the Java plugin will be listed as Java(TM) Platform SE <version> and underneath, it will show 'Next Generation Java Plug-in <version> for Mozilla browsers', where <version> refers to the Java plugin version. The Java plugin must be detected and enabled in the Firefox or SeaMonkey Add-ons Manager for Java applets to work in the browser.
Note: Starting in Firefox 23 and SeaMonkey 2.20, the button to 'Disable' or 'Enable' plugins has been replaced with a drop-down menu with the click-to-play options 'Always Activate' to enable, 'Ask to Activate' to set click-to-play, and 'Never Activate' to disable (bug 549697).
After enabling Java, test Java again:
The Java Deployment Toolkit plugin, which is installed along with Java, does NOT need to be enabled for Java applets to work. If you only see the Java Deployment Toolkit plugin listed in the Add-ons Manager, then Java is not properly detected.
If the Java plugin does not appear in the Add-ons Manager even though Java is installed
If the Java plugin does not appear in the Add-ons Manager, even though Java is installed, first do the following before reinstalling Java or trying other solutions:
[edit]
Disabling Java
To disable the Java plugin in your Mozilla browser, open the Add-ons Manager, find the Java plugin entry as described above and then, depending on the browser version, click the 'Disable' or 'Never Activate' button.
Enabling and disabling Java from the Java Control Panel
Applies to Windows or Mac OS X 10.7.3 and above
Starting in Java 7, the 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 or SeaMonkey Add-ons Manager or about:plugins list. To view or change this option, click the Java icon in the Windows Control Panel or Mac OS X System Preferences to open the Java Control Panel, then select the Security tab. See this Java Help page for details. [10][11][12]
[edit]
If Java is installed and enabled but does not work
Java downloads
Mac OS: You can download Java from Apple Support Downloads (Java 6 and below). On Mac OS X 10.7.3 (Lion) and above, Java 7 is available here or from this download page. See How do I get Java support for Mac? for more information.
Windows and Linux: You can download Java here or you can select the offline (full) installer for your operating system from this download page. (If you are looking for Java 6, see the Java 6 FAQ page). You can also download an offline installer using the 'JRE' download link on Oracle's Java SE Downloads. Important! Even if you have a 64-bit operating system, you need the 32-bit (x86) Java download for 32-bit browsers. On Windows, make sure you select the 32-bit JRE since Firefox and SeaMonkey official releases are 32-bit (e.g., select 'Windows x86 Offline' for the offline installer linked from Oracle's Java SE Downloads page). See below for more information on installing or updating Java on Windows. See 64 bit builds for more information about 64-bit versions of Mozilla applications. [28][29][30]
[edit]
Installing or updating JavaOn Mac OS X
Installing Java:
For more information, see How do I get Java support for Mac?.
Updating Java:
Note: The Java Embedding Plugin has been bundled with Mac distributions of older Mozilla browsers, including Firefox 3.x and SeaMonkey 2.0. This utility allows browsers other than Apple's Safari to use the most recent versions of Java on Mac OS X. [31] The Java Embedding Plugin is no longer needed in newer Mozilla browsers such as Firefox 4 and is no longer included. [32][33][34]
[edit]
On Linux
For Linux installation instructions, see How do I download and install 32-bit Java for Linux Platforms? or What are the Linux 64-bit installation instructions for Java?
See Manual Installation and Registration of Java Plugin for Linux at oracle.com for additional information.
On Windows
The Java Update feature automatically checks for updates at scheduled intervals and notifies you when an update is available so that you can install it. You can also update Java from the Java Control Panel, or by manually downloading the latest update.
[edit]
Java Control Panel Update tab
If you have administrative privileges, you can check for updates and install them from the Java Control Panel,accessible via 'Start -> Control Panel -> Java (32-bit)' or from the Windows Start Menu ('Start -> All Programs -> Java -> Check for Updates'). You can also access the Java (32-bit) Control Panel by opening the file 'javacpl.exe' located in the Java installation folder (e.g., on 64-bit Windows with 32-bit Java 7 installed, open the file 'javacpl.exe' in the C:Program Files (x86)Javajre7bin folder). You can then go to the 'Update' tab and click the 'Update Now' button, to see if an update is available.
On 64-bit Windows, you can have both 32-bit Java (needed for 32-bit browsers like Firefox and SeaMonkey) and 64-bit Java (needed for 64-bit browsers, such as 64-bit Internet Explorer). See this Java help page for details. Note: Starting with Java 8 Update 20, the Update tab in the Java Control Panel enables users to automatically update 64-bit JREs (in addition to 32-bit versions) that are installed on their system. The Update tab is not available in earlier 64-bit versions of Java. [35]
If you don't need 64-bit Java, there is no reason to have it installed. If both 32-bit and 64-bit versions of Java are installed, the Windows Control Panel will display only the 64-bit Java Control Panel. In such cases, you can access the 32-bit Java Control Panel for Java 7 by running C:Program Files (x86)Javajre7binjavacpl.exe (press 'Windows key + R' to open the Run box). Alternately, you can update Java using the manual update method (see below) by downloading the latest update. [36][37]
Manual install or update
If you prefer an offline installation, go to the Java Downloads page (see above for links) and save the Windows Offline installer to any convenient location, close your browser and run the installer. [38]
Starting with Java 6 Update 10, Java updates patch the current version by default instead of adding an additional version. This prevents an accumulation of unused and potentially insecure Java versions. [39][40]
[edit]
Windows installation issues
If you have problems installing or updating Java or if Java doesn't work afterwards, first restart your browser (or reboot the computer), make sure that Java is enabled (see above), and then test Java again. [41]. The Windows Online Installation and Update FAQ, the Java Help Center, and this help page on Error Messages may also help. If you still have problems, try the following solutions.
Use Internet Explorer to install Java
If you have problems installing the latest version of Java, a user reports success installing Java online using Internet Explorer, after first completely uninstalling Java from his system. Opening Internet Explorer and then visiting a page that uses the Java plugin, such as this javatester.org page, should detect that Java isn't installed and offer to install it. Alternately, go to the Java.com download page using Internet Explorer and run the online installer (details here). [42][43][44]
Note: If you visit a page that uses Java with your Mozilla browser and it detects that the Java plugin is missing, the Plugin Finder Service (PFS) may offer an outdated version. (Mozilla is planning to either remove the PFS or change the process for downloading missing plugins, at some future date.) [45][46][47][48]
[edit]
Uninstall JavaFX
If the Java (TM) Platform plugin for your installed Java version is not detected after updating to Java 7 Update 10 or above, this can be caused by a standalone installation of JavaFX that prevents the Java plugin from being properly registered. JavaFX used to be bundled with earlier versions of the Java 7 JRE (Java Runtime Environment) but is now included as part of the JRE. To resolve, follow the instructions given here to get to the Windows Control Panel list of installed programs and uninstall JavaFX. (This java.com help page recommends uninstalling all Java versions, including JavaFX, and then reinstalling the latest version of Java.) [49][50][51][52][53]
Add back missing registry key
Note: Updating to the latest Java 7 release after Java 7u13 may resolve this issue (see Oracle's bug 8005410) so be sure to update Java before trying a registry fix.
If the Java (TM) Platform plugin is no longer detected after updating to the latest Java 7 JRE and the previous suggestion to uninstall JavaFX doesn't resolve the issue (or if there is no JavaFX listed to uninstall), your Java 7 installation may be missing this Windows Registry key, which Mozilla browsers need to detect the Java plugin:
The problem has been reported by users after updating to Java 7 Update 10 (7u10) or Update 11 (7u11). If you're comfortable with a registry fix, do one of the following:
Option 1: Add back the missing registry key using a .reg file containing the code posted in this post for Java 7 Update 10 on 64-bit Windows (you'll need to change
'Version'='170_10' to 'Version'='170_11' for Java 7 Update 11). A list of the needed registry keys for Java 7 Update 11 on 32-bit Windows has been posted here. The first line of the .reg file MUST be Windows Registry Editor Version 5.00 so you should position your mouse cursor at the beginning of that line, then select and copy the rest of the code. Alternately, uninstall Java 7u10 or 7u11, install an earlier Java version (e.g., Java 7u9) to get the registry key back, use the Windows Registry editor (regedit.exe) to export the registry key, install the latest Java 7, edit the version numbers in the .reg file you exported earlier and then run the .reg file to merge it into the registry. [54][55][56][57]
Option 2: Uninstall ALL versions of Java and JavaFX, use a registry editor to delete these registry keys, if they are not empty, and then reinstall the latest Java 7. [58][59]
[edit]
Remove outdated Java files from the browser plugins folderJava Plugin Firefox Download Mac Os
If Java is installed and enabled (see Enabling Java, above) check about:plugins to make sure that older Java plugins are not being detected from other locations, such as the installation directory browser plugins folder, which no longer exists by default. For example, if Java 7 Update 45 is installed, about:plugins should show Java(TM) Platform SE 7 U45 File: npjp2.dll and, in current Mozilla browsers, the full path to the plugin location (see the linked article for more information). Having Java files from previous versions in the browser plugins folder has been known to prevent the current Java version from working and those outdated Java files should be removed. [60][61]
Firefox Java Plugin MissingJava-related issues
Note: Mozilla browsers use the 'Next-Generation Java Plug-In' (included in Java 6 Update 10 and above) to display Java content. See this Java.com help page for details.
[edit]
Java content requires click-to-play activation
Mozilla adds unsafe Java plugin versions its Add-ons Blocklist as a security measure. Depending on the Java plugin and Mozilla browser version, this may result in the Java plugin being disabled in the Add-ons Manager or, in current Firefox and SeaMonkey versions, Java content may require 'click to play' activation. Starting in Firefox 26, the Java plugin defaults to 'Ask to Activate' (click to play activation required) in the Add-ons Manager Plugins list, even though the latest version of Java is installed and that version is not considered vulnerable (bug 941137). See How to allow Java on trusted sites at Mozilla Support and this blog post for more information. [62][63]
Java security prompts
Starting in Java 7 Update 21, even though you activate Java, you'll still see a security dialog asking you to confirm that you want the Java content to run. See the Java Help page What should I do when I see a security prompt from Java? for more information and screenshots.
If you see a message such as 'Application Blocked by Security Settings' with no option to run Java, then Java has blocked the content for security reasons. Starting in Java 7 Update 51, RIAs (Web Start applications and applets) with certificates from an untrusted source (self-signed) and those with no certificate or missing application Name and Publisher information (unsigned), are blocked by default. Sites that would normally be blocked based on your Java Security settings can be added to the Exception Site list via the Java Control Panel, as explained here and in the Java Help page How can I configure the Exception Site List?. The Java Help page Why are Java applications blocked by your security settings with the latest Java? includes steps to Add URLs to the Exception Site list and mentions some common Java applications that are now blocked. For more information and screenshots, see this wiki.albany.edu article and this wordpress article. [64][65][66][67][68][69]
[edit]
Java Deployment Toolkit plugin
Installing Java 6 Update 10 or above adds a 'Java Deployment Toolkit<version>' plugin, which is used for Java version detection by Java applets and applications that require a specific version of Java. This plugin is not needed to run Java applets and can be disabled in the Add-ons manager. Java Deployment Toolkit plugin versions previous to 6.0.200.2 are insecure and are now blocklisted (bug 558584). Java 6 Update 20 or later updates should remove the vulnerable plugin 'npdeploytk.dll' and replace it with a fixed version named 'npdeployJava1.dll'; however, in some cases, not all copies of the older plugin are removed. [70]. To manually remove the older, vulnerable plugin, find and delete all copies of 'npdeploytk.dll' (or rename to 'Xnpdeploytk.dll'). Note that, in July 2013, Mozilla blocked all versions of the Java Deployment Toolkit, requiring 'click to play' activation (bug 636633). [71][72][73][74]
Java applet causes browser process to remain in memory after exiting the browser
Sometimes after running a Java applet and then exiting Mozilla Suite, SeaMonkey or Firefox, the browser process may remain in memory [75][76]. Attempting to restart the browser without ending the existing browser process will result in a profile in use error or, in Firefox 1.5 and later, a message that Firefox is already running but not responding. Allowing the Java applet to fully load before exiting the browser may help prevent the problem from occurring [77]. Exiting the page with the Java applet (click the 'Back' button or go to a different web page) before closing the browser may also help [78]. To resolve the issue, try updating to the latest JRE version.
[edit]
Java applet causes backwards or jumbled typing in text boxes
Sometimes running a Java applet during the browser session can cause the cursor to behave erratically when you type in a text field, so that your text will display backwards or jumbled. Additionally, you may not be able to copy text to the clipboard. If you are having these problems, exit the browser and end its process if necessary (see above) then restart your Mozilla application. [79][80]
Java Console
The Java installer places a Java Console extension in the Firefox installation directory and uninstalling Java removes the extension. Starting in Firefox 3.6, a 'Java Console <version>' extension will appear in the Add-ons Manager for each installed version of Java (in previous Firefox versions, these extensions were hidden). [81] The Java Console extension is not needed for Java to work and can be disabled or removed from the Extensions list (see below).
Starting with Java 6 Update 10, the Java Console menu item in older versions of Firefox ('Tools -> Java Console') and SeaMonkey 2 ('Tools -> Web Development -> Java Console') is nonfunctional and no longer opens the Java Console (current versions of Firefox and SeaMonkey no longer include this menu item). This is by design. [82][83] If you don't use the Java Console, there is no need to do anything. The Java article How do I enable and view the Java Console? explains how to open the Java Console, if you need to use it.
[edit]
Resolved issues![]() Multiple Java Console extensions
Starting in Firefox 3.6, a 'Java Console <version>' extension will appear in the Firefox 'Tools -> Add-ons -> Extensions' list for each Java version installed (previous to Firefox 3.6 these extensions were hidden). [84] Uninstalling Java should also remove the Java Console extension. Updating Java 6 Update 10 or later removes the previous Java version but may not uninstall the Java Console for that version, causing Firefox to accumulate multiple Java Console extensions.
The Java Console extension is not needed for the Java plugin to work (see above) and can be disabled or removed from the Extensions list. On Windows, if the uninstall button to remove the Java Console extension is 'greyed-out' or missing, exit Firefox, reopen Firefox from the context (right-click) menu 'Run as Administrator' option, then try again. [85][86]
You can also manually remove unwanted extensions by opening the installation directory 'extensions' folder and deleting the associated subfolder (e.g., to uninstall the Java Console 6.0.18 extension on 64-bit Windows, open the C:Program Files (x86)Mozilla Firefoxextensions folder and delete the '{CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA}' subfolder). [87][88] In Firefox 4 and above, the Firefox installer and updater should automatically remove Java Console extensions from the installation directory 'extensions' folder but may not always do so; this should be fixed in Firefox 8. [89][90]
[edit]
Plugin Check reports outdated Java has been disabled when it is up-to-date or when Java is not installed
This bug is now resolved, as reported in bug 790008 #33 (2013-04-25), and should no longer be an issue.
Due to a bug, Mozilla's Plugin Check page will display the message, Missing JAVA? For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version. even if your Java is up-to-date, if you manually disable the Java plugin in the Add-ons Manager. You will also see that message if Java isn't even installed. (screenshot) [91][92] Mozilla PluginCheck webpage identifies the latest Java 7 plugin as vulnerable
The bug causing this issue was fixed on May 9, 2014.
Due to a bug, Mozilla's Plugin Check & Updates webpage was reporting the Java plugin to be vulnerable, even though the latest Java 7 version is installed (bug 985968). Because of this problem, the following message was added to the top of the PluginCheck page: We are aware of a problem detecting current versions of the Java plugin and misreporting them as vulnerable. We’re working to correct this error. In the meantime, you can visit the Java website to download the latest version. If your installed version of the Java plugin is the same version as the download offered at Java.com (e.g., Java(TM) Platform SE 7 U55 is installed and the Java.com download page is offering Version 7 Update 55) then no action is needed. You can verify that you have the recommended version of Java by visiting this Java.com test page.
[edit]
External links
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |