LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sun Java jre 1.5.0.01 not working (https://www.linuxquestions.org/questions/linux-software-2/sun-java-jre-1-5-0-01-not-working-297324/)

Rusty_L 03-03-2005 05:39 PM

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

Brian1 03-03-2005 05:45 PM

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 "

Rusty_L 03-03-2005 06:11 PM

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

Brian1 03-03-2005 06:37 PM

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

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 "

Rusty_L 03-03-2005 11:04 PM

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

Brian1 03-04-2005 04:04 PM

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 "

Rusty_L 03-04-2005 06:15 PM

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

Brian1 03-04-2005 08:41 PM

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


All times are GMT -5. The time now is 11:54 PM.