LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java installation on Fedora Core (https://www.linuxquestions.org/questions/linux-newbie-8/java-installation-on-fedora-core-144918/)

mfwlinuxhome 02-11-2004 01:57 PM

Java installation on Fedora Core
 
Have upgraded Red Hat 8.0 to Fedora Core. On Red Hat 8.0 was able to install java for the Mozilla browser 1.0.1. On Fedora Core am unable to get java running. When I enter java -version: Java(TM) 2 Runtime Environment... (build 1.4.2_03-b02)... is returned. Any idea's as to how to get java installed on mozilla 1.4.1?

DrOzz 02-11-2004 01:59 PM

did you set up a symlink for libjavaplugin_oji.so from the java directory to your mozilla plugins directory ?

mfwlinuxhome 02-11-2004 02:04 PM

Yes, after I added symlink Mozilla would not start.

DrOzz 02-11-2004 02:05 PM

so are you saying that the real issue at the moment is not getting java working, its actually getting mozilla back up and running ?

if so, when you remove the symlink does mozilla work again ?

mfwlinuxhome 02-11-2004 02:08 PM

Yes, when I remove the symlink Mozilla works.

mfwlinuxhome 02-11-2004 02:54 PM

Solved the problem: Synbolic link was directed to ns610/ Sould be directed to ns610-gcc32/.

msalt 02-12-2004 05:36 AM

I have a similar problem. I am an absolute newcomer to Linux and am following the 'Official Fedora Companion' by Nick Petreley. Trying to install Java for Mozilla I have scrupulously followed the instructions, which work to the point where he says "... you need to put a symbolic link for the Java plugin into the Mozilla plugin directory" and gives the following command string:

ln -sf /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so \ /usr/lib/mozilla/plugins/libjavaplugin_oji.so

All that then happens is that I get a message saying that the directory cannot be found. Any help in working this out would be much appreciated. I have succeeded in installing Mozplugger by the way.

mfwlinuxhome 02-12-2004 08:39 AM

Change to the /usr directory and type: mkdir java at command prompt.
Make sure java is installed by typing:java -version. Prompt should return statement starting with: java version "1.4.2_03". Try adding this symbolic link:
ln -s /usr/java/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/

There is a space after /libjavaplugin_oji.so

msalt 02-12-2004 08:58 AM

Thanks for that, but when I try your code both in the usr and the username directories I still get the "no such file or directory message".

And your "java -version" instruction produces "bash: java: command not found".

What should I try next please?

mfwlinuxhome 02-12-2004 09:53 AM

First of all are you running Mozilla, and is it ? And if so what version? Is under Help; About Mozilla.

mfwlinuxhome 02-12-2004 09:56 AM

What version of Linux are you running? Red Hat 8.0? Fedora Core?

msalt 02-12-2004 09:57 AM

Yes, I am running Mozilla - version 1.4.1 that comes with Fedora.

mfwlinuxhome 02-12-2004 10:21 AM

Ok. First go to Mozilla.com and download Mozilla 1.6

mfwlinuxhome 02-12-2004 10:26 AM

Are you logged in as root?

mfwlinuxhome 02-12-2004 10:28 AM

If not logged in as root -open a command teminal - under the Red hat icon then under System Tools - Teminal. The type su. type in your root password.


All times are GMT -5. The time now is 08:12 PM.