Results 1 to 4 of 4
hello,
i tried to install the Java plugin, ( no urls )
java -version is working but not the plugin
i created the shortcut like this:
Code:
ln -s /usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so ...
- 09-12-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
Javaplugin not found by Firefox
hello,
i tried to install the Java plugin, ( no urls
)
java -version is working but not the plugin
i created the shortcut like this:
But Firefox wont start java appletsCode:ln -s /usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
- 09-12-2010 #2
you apply this its help
Java Runtime Environment
The standard installation of Fedora should install OpenJDK (based off of Sun Java). However if not, it can be installed using YUM:
[mirandam@charon ~]$ sudo yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin
With OpenJDK installed, Java application and Web applets should automatically work. Unfortunately some applets may not run properly and the OpenJDK might have some limitations. Majority of user should find OpenJDK perfect for everyday use.
Using Sun Java Instead
If you require Sun Java or if OpenJDK does not work properly, you can download Sun Java and use it in Fedora.
Download the Java package from:
Java SE Downloads - Sun Developer Network (SDN). Always use the latest update.
Select: Java JRE 6 Update 21 (the JDK is for developers)
On the next page, for Platform select "Linux" for 32-bit users, and "Linux x64" for 64-bit users.
For Language select "Multi-language". Also accept the license agreement, and hit "Continue".
On the next page, select the RPM option:
Java SE Runtime Environment 6u21
jre-6u21-linux-i586-rpm.bin (32-bit users)
jre-6u21-linux-x64-rpm.bin (64-bit users)
To install:
[mirandam@charon Download]$ sudo sh jre-6u21-linux-i586-rpm.bin
-OR-
[mirandam@charon Download]$ sudo sh jre-6u21-linux-x64-rpm.bin
You will need to hit 'space' till it reaches the end, then type 'yes'. You should see the RPM installing. If it does not install, manually install it via sudo rpm -ivh.
When running the java command, Fedora will default to using OpenJDK. In order to use Sun Java, use the alternatives command.
To setup the Java runtime, perform the following (applies to both 32-bit and 64-bit users):
[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000
Setup the Mozilla/Firefox browser plugin.
For 32-bit users:
[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000
For 64-bit users:
[mirandam@charon Download]$ sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
You may need to restart Firefox to see the plugin take effect.
Note: If you wish to switch back to OpenJDK you can run the following commands one by one to switch between the OpenJDK and Sun Java:
[mirandam@charon ~]$ sudo /usr/sbin/alternatives --config java
[mirandam@charon ~]$ sudo /usr/sbin/alternatives --config libjavaplugin.so
(or for 64-bit)
[mirandam@charon ~]$ sudo /usr/sbin/alternatives --config libjavaplugin.so.x86_64
To Update: If you wish update the JRE package, simply download the newest RPM package and install it as above. You will NOT need to reset alternatives, as those settings should remain intact.
More Information: Install Documentation for Linux.
http://www.linuxforums.org/forum/lin...ead-first.html
Personal Fedora 13 Installation Guide
- 09-12-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 13
Only the 64bit RPM works. I heard its better to use the 32bit one.
But its ok.
Thank you!
- 09-17-2010 #4Linux Newbie
- Join Date
- Sep 2004
- Location
- UK
- Posts
- 160
The plugin lives in those don't work with newer versions of firefox AFAIK
for 32 bit: ${JAVA_HOME}/jre/lib/i386/libnpjp2.so
64 bit: ${JAVA_HOME}/jre/lib/amd64/libnpjp2.so
Place links to these in /usr/lib64/mozilla/plugins or /usr/lib/mozilla/plugins depending on which firefox arch you run (32 bit/64bit)
The 64 bit version does work, I've been using it.In a world without walls and fences, who needs Windows and Gates?


Reply With Quote