LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2004, 02:57 PM   #1
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Rep: Reputation: 0
Angry 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?
 
Old 02-11-2004, 02:59 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
did you set up a symlink for libjavaplugin_oji.so from the java directory to your mozilla plugins directory ?
 
Old 02-11-2004, 03:04 PM   #3
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
Yes, after I added symlink Mozilla would not start.
 
Old 02-11-2004, 03:05 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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 ?
 
Old 02-11-2004, 03:08 PM   #5
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
Yes, when I remove the symlink Mozilla works.
 
Old 02-11-2004, 03:54 PM   #6
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
Solved the problem: Synbolic link was directed to ns610/ Sould be directed to ns610-gcc32/.
 
Old 02-12-2004, 06:36 AM   #7
msalt
LQ Newbie
 
Registered: Feb 2004
Location: Norwich
Distribution: Fedora Core 1
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-12-2004, 09:39 AM   #8
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 02-12-2004, 09:58 AM   #9
msalt
LQ Newbie
 
Registered: Feb 2004
Location: Norwich
Distribution: Fedora Core 1
Posts: 4

Rep: Reputation: 0
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?
 
Old 02-12-2004, 10:53 AM   #10
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
First of all are you running Mozilla, and is it ? And if so what version? Is under Help; About Mozilla.
 
Old 02-12-2004, 10:56 AM   #11
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
What version of Linux are you running? Red Hat 8.0? Fedora Core?
 
Old 02-12-2004, 10:57 AM   #12
msalt
LQ Newbie
 
Registered: Feb 2004
Location: Norwich
Distribution: Fedora Core 1
Posts: 4

Rep: Reputation: 0
Yes, I am running Mozilla - version 1.4.1 that comes with Fedora.
 
Old 02-12-2004, 11:21 AM   #13
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
Ok. First go to Mozilla.com and download Mozilla 1.6
 
Old 02-12-2004, 11:26 AM   #14
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
Are you logged in as root?
 
Old 02-12-2004, 11:28 AM   #15
mfwlinuxhome
LQ Newbie
 
Registered: Feb 2004
Location: Seminole, Florida
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run java in Fedora core 3 gjo Fedora 2 10-02-2005 04:18 AM
Java & Fedora Core 4 Rick069 Linux - Software 6 09-22-2005 04:49 AM
no java while using firefox on fedora core 3 linuxmandrake Linux - Software 1 06-19-2005 01:40 AM
Getting Java-VM to work on Fedora Core 2 rpierce34 Fedora 13 03-31-2005 11:33 PM
Java SDK and Fedora Core 3 caps_phisto Fedora 5 01-12-2005 03:02 PM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration