See JDK 7 and JRE 7 Installation Guide for general information about installing JDK 7 and JRE 7.
When you install the Java platform, the Java plugin file is
included as part of that install. If you want to use Java within
Firefox, you need to manually create a symbolic link from the
plugin file in the release to one of the locations that Firefox
expects. To make the plugin available to all users, create the link
inside of the Firefox application's directory, in the
plugins subdirectory. Alternatively, you can create
the symbolic link in your home directory, in
~/.mozilla/plugins. In the remainder of this document,
the text, "Firefox
implies either of these locations.
Note: For Firefox version 21 and higher, you must create the symbolic link in the
~/.mozilla/plugins directory. Beginning with Firefox version 21, creating the symbolic link in the
plugins subdirectory of the Firefox application's directory is not supported.
This release provides the Next-Generation Java plugin. If you have been using the classic plugin, see the Notes for further information.
The location of the plugin file for Oracle Solaris varies according to the processor of the underlying platform.
|Processor||Location of File|
If you are using a 32-bit Firefox, you should use the 32-bit
Java Plugin (from the
lib/sparc or the
lib/i386 directory). To determine which version of
Firefox you are running, launch the application, and select the
menu item Help -> About Mozilla Firefox.
To install the Java Plugin follow these steps:
1. Exit Firefox.
2. Uninstall any previous installations of Java Plugin.
Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
Remove the symbolic links (or move them to another directory) to
3. Create a symbolic link to the Java Plugin in the
Create a symbolic link to the Java Plugin
libnpjp2.so file in the Firefox
directory. Substitute the appropriate
according to the previous table. For example, for a 32-bit JRE on
an x64/EM64T processor:
cd <Firefox>/plugins ln -s <JRE>/lib/i386/libnpjp2.so .
4. Start the Firefox browser.
about:plugins in the browser's Location bar to
confirm that the Java Plugin is loaded.
<JRE>/plugin/sparc/javaplugin-oji.so (SPARC) <JRE>/plugin/i386/javaplugin-oji.so (x64/EM64T)This file should no longer be used and all symbolic links to it should be removed.
libnpjp2.so) requires Firefox 3 or above. Firefox 2.x (or older) requires the classic plugin (
libjavaplugin-oji.so). The classic plugin is no longer supported. You can get Firefox 3 through sunfreeware.com. They have a full list of Firefox packages available.