Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Firefox is compiled with gcc 3.2.3, so a compatible version of the Java plugin must be used. On Linux, Firefox requires JRE 1.4.2 or later.
If you installed the JRE 1.5.0_10 RPM, this plugin is /usr/java/j2re1.5.0_10/plugin/i386/ns610-gcc32/libjavaplugin_oji.so and to install it for Firefox, do the following:
1. Open a terminal
2. Change to your Firefox plugins directory
3. Issue the following command: ln -s /usr/java/j2re1.5.0_10/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
If you are using an older Linux distribution, you may need to install the gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires libgcc_s.so.1 to operate. You may be able to find packages using Google.
If you are using an old or unofficial build of Firefox, you can check which compiler was used by entering about:buildconfig in the location bar and pressing enter. You will see a line such as gcc version 3.3 20030226 (prerelease) (SuSE Linux), which will show the compiler that was used. If gcc2.9x was used, you need to use the ns610 plugin, not the ns610-gcc32 plugin.
I seem to remember getting Java to work in my FC6 was a pain in the behind also. I used this tutorial from THIS site to finally get mine working:
Quote:
Install Java J2RE and Mozilla Plug-in
It's also very handy to have the Java run-time environment available and most importantly a Mozilla plug-in so you can view dynamic content. It's unfortunate that Mozilla will actually crash if you go to a site containing Java and you don't have the plug-in installed.
For now there is no easy way to do this but I found the following instructions on FedoraForums.org. Basically, start by downloading the Java Runtime Environment (JRE) 5.0 Update 9 (at the time I wrote this) from Sun.com. You'll want to grab the Linux RPM in self-extracting file. Then you want to install it with:
# sh ./jre-1_5_0_09-linux-i586-rpm.bin
Then you'll probably want to enable Java Plug-ins and here once again there is no easy way:
And finally you'll need to tell Fedora that you wish to use this version of Java as the preferred interpreter rather than the Open Source version that's installed by default. You'll of course need to adjust the full pathname if you install a newer version of the jre than the one in this example:
Code:
# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.5.0_09/bin/java 1509
# java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b05)
Java HotSpot(TM) Client VM (build 1.5.0_09-b05, mixed mode, sharing)
Hmm... this is a strange one. I wonder if there are some problems with the 1.6 build of Sun Java. Maybe you should remove it from your system and try to reinstall with a n older version. I run 1.5 on all my distros. FC and Mandriva gave me problems during installation, but I eventually worked it out.
Keep this thread active. Someone will know how to get this fixed for you.
Are you, by any chance, running a 64 bit version of FC? If so, are you running the 64 bit version of Firefox also (2.0). The reason I ask is because Java (and most other plugins) will NOT work on 64 bit versions of FF. I see that you installed the 32 bit i586 version of Java. However, that doesn't mean you're running a 32 bit Fedora. I just have to ask. I'm trying to help you figure this out. The more we know, the easier it'll be for me or others here to help you.
It is 32 bit Fedora I made sure. I burned both not knowing which was compatible and the 64bit will not even install(told me to download the 32bit version)
Ah... OK. Well, sadly, I've run out of ideas. I'm hopeful that someone else may pop in here with some suggestions for you. I'll keep an eye on the thread. I'm curious to see what the problem was.
I've alerted a Moderator to this thread. Hopefully, someone can offer you some more advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.