LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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



Reply
 
Search this Thread
Old 03-03-2005, 06:39 PM   #1
Rusty_L
Member
 
Registered: Feb 2005
Location: Olathe,Kansas, 66061, USA
Distribution: Mandrake 10.0 Community
Posts: 44

Rep: Reputation: 15
Sun Java jre 1.5.0.01 not working


Hi, there

I was searching the fourms and found several threads pertaining to how to install Java from Sun Microsystems and i followed them to the letter and i am unable to get Mozzilla to "see" that it is installed.

Below is a step by step of what i did could somebody tell me if i missed somthing in the install process ?, it would really be appreciated.

1.downloaded binary from Sun

2.Extracted RPM from the Binary from Sun

3.Installed RPM from Sun

4.went in to a ROOT Terminal and made a Symbolic Link inside the Mozzilla plugin Directory for the Java Runtime Library.

5.edited this File: ".bashrc" and to this file i added the following lines:

PATH=$PATH:/usr/java/jre1.5.0_01/bin
JAVA_HOME=/usr/java/jre1.5.0_01/bin
export PATH
export JAVA_HOME

6.Logged out and then Logged back in

7.open Mozzilla and told it were to find the Java Runtime (file:/usr/java/jre1.5.0_01/bin)

8.Checked with Mozzilla and there was only the Flash plugin,Null plugin,Future splash player were the only ones that showed, No Java

My System specs are listed here:

Distro: Mandrake 10.0 Community
Browser: Mozzilla 1.6
GCC tools and Utils: 3.2 seris
Kernel: 2.6.3-7.MDK
Ram 512 DDR 400
CPU: Intel P4 2.4 GHZ

Thanks for any help

Rusty_L
 
Old 03-03-2005, 06:45 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Read over this post for help. Check the section on plugin install.
http://www.fedoraforum.org/forum/sho...9&postcount=12

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 03-03-2005, 07:11 PM   #3
Rusty_L
Member
 
Registered: Feb 2005
Location: Olathe,Kansas, 66061, USA
Distribution: Mandrake 10.0 Community
Posts: 44

Original Poster
Rep: Reputation: 15
Okay, i followed the Thread at the Fadora Core site and can get the Engine to tell me what or Java i am running, made all the proper links as Root and still not able to run java apps (Yahoo Chat Applet). So i am no worse off than i was before, still no Java working.

is tthere any other Method i can try, i have tried all of the ones Listed here and now the one listed at Fadora.

Rusty_L
 
Old 03-03-2005, 07:37 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
So if you type ' aboutlugins ' on the address bar in mozilla it doesn't show java plugin?
note the ' aboutlugins ' is spelled as ' about: plugins ' There is no space inbetween the about: and plugins. This site turns : and p into a face like this

Just want to make sure on the following questions.
You say you created the link to the java plugin. How did you do it?
Which plugin did you use?
Where is your mozilla plugin directory you used to create the softlink?
You created a softlink not a hardlink?

Brian1
" Google the Linux way @ http://www.google.com/linux "

Last edited by Brian1; 03-03-2005 at 07:44 PM.
 
Old 03-04-2005, 12:04 AM   #5
Rusty_L
Member
 
Registered: Feb 2005
Location: Olathe,Kansas, 66061, USA
Distribution: Mandrake 10.0 Community
Posts: 44

Original Poster
Rep: Reputation: 15
here are the links i made as root:

1.ln -s /usr/java/j2re1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

2.ln -s/usr/lib/mozzilla/plugin/libjavaplugin_oji.so

basicly the plugin i am using is the ns7 one as the other one is for GCC 2.x seris

the Mozzilla plugin directory resides here : /usr/lib/mozzilla/plugin

And as for hard or softlinking these terms are unfamilliar to me, i just thought linking was the same as windows Short cut, I had no idea there levels of Linking when creating a short cut.

and correct when i go help->about plugins i get:

Future splash player plugin = Yes

shockwave/flash player 7.0 = yes

Nullplugin = yes

but nope no java

Rusty_L
 
Old 03-04-2005, 05:04 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
You mention you are using jre-1.5.0_01. If so isn't this the correct path to the plugin. file:/usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so.

Also you mention mozilla directory has to ' zz ' in it. Are you sure you spelled it corectly.

Now you are typing two ' ln ' commands. It will only require one. Going from your info the command to install the plugin would be this.
' ln -s /usr/java/j2re1.5.0/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozzilla/plugin/libjavaplugin_oji.so '

To me I beleive it should be this. This is default java rpm build and default mozilla directory.
' ln -s /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so '

I would go to a terminal screen and start at root and cd to each point down the line to verify correct path.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 03-04-2005, 07:15 PM   #7
Rusty_L
Member
 
Registered: Feb 2005
Location: Olathe,Kansas, 66061, USA
Distribution: Mandrake 10.0 Community
Posts: 44

Original Poster
Rep: Reputation: 15
Brian 1, hi there

I just went through as you suggested and your right in my haste to get it installed and running i made some errors in spelling and such, i went back and corrected these and well it works.

I can't belive those erors were right there under my nosethe whole time and i just did not see it until it got pointed out to me. So in closing brian 1, i would like to say thanks for your help and that i appreciate the effort.

Rusty_L
 
Old 03-04-2005, 09:41 PM   #8
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Your very welcome there Rusty. I know how confusing getting the Java plugin working with some of those info websites. That's why I created that post. So far it has work for most very well.

Have fun with Java there.
Brian1
 
  


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
Howto install/use java(jre)? eras Linux - Newbie 5 04-12-2005 06:05 PM
Java JRE merchtemeagle Linux - Newbie 3 10-15-2004 02:38 PM
sun java not working inspite of successful install coolamit78 Linux - Software 2 03-02-2004 12:43 PM
Latest Java JRE doesn't seem to work kurt165749 Linux - Software 5 01-30-2004 02:37 PM
java jre luap Linux - Software 5 02-17-2003 12:41 AM


All times are GMT -5. The time now is 10:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration