Jump to content

mozilla + java-1.5.0 = not working for me [solved]


Recommended Posts

okay here is my problem:

I have been trying to get java to work with mozilla 1.7

so i downloaded java from the sun site.

I copied the file to usr/Java/ and ran the program as it said in the instructions that I found here:

http://www.java.com/en/download/help/5000010500.xml

So i preformed the following actions:

# chmod a+x jre-1_5_0-linux-i586-rpm.bin

 

next

 

# ./jre-1_5_0-linux-i586-rpm.bin

 

now here is where an rpm is supposed to be created but i dont get an rpm created... i get:

jre-1_5_0-linux-i586-rpm.bin*

and a directory

jre1.5.0_01/

 

so i tried to install the plugin into my mozilla browser thinking maybe the rpm step may have been omitted.

 

Now i so next i changed the directory to my mozilla plugin directory

# cd usr/lib/mozilla-1.7.11/plugins/

 

then i tried to link the java directory to mozilla

# ln -s /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so .

 

so i checked the directory to see if it was installed.. and it was listed there.

 

I obened up mozilla and tried to open a site to see if java worked and i got nothing... it was just the page stating that i need a plugin to install in order for java to work.

 

Any help?

 

oh yeah i also did the same installation for the usr/mozilla/plugins/ directory... as i read on here that someone else did the same and got java to work.

 

But it didnt work for me.

 

Any help at all would be apprecitated.

 

Thanks

 

 

[moved from Software by spinynorman]

Edited by avogodro
Link to comment
Share on other sites

I've had exactly the same problem that you've experienced when installing directly from the bin file. It is a shell script which extracts and installs the jre....rpm file.

 

I would suggest, this:

 

rpm -qa | grep jre

 

based on the results from the command above, type:

 

urpme packagename

 

to remove. Wherever you downloaded the .bin file to, there will be an extracted jre....rpm file. You can install this using:

 

rpm -Uvh packagename.rpm

 

but make sure you're set in the directory where it is, or type the full path to it. Alternatively, just browse to it within your desktop and double-click it to install. Then create the symlink using the ln -s as before.

 

And if that doesn't work, follow these instructions:

 

http://www.java.com/en/download/help/5000010500.xml#rpm

Link to comment
Share on other sites

I've had exactly the same problem that you've experienced when installing directly from the bin file. It is a shell script which extracts and installs the jre....rpm file.

 

I would suggest, this:

...

This did not work for me... and i have already tried the java site for instructions. Now the program is locked! Hmm!!! I unfortunately do not have a Very strong programming background...

Thanks

Link to comment
Share on other sites

Okay i swear I have done this process once.... I uninstalled jre* and deleted it all from my filesystem...

then i reinstalled it....

and low and behold i get an rpm file to install!!!!!!!!!!!!!!!!!

YAY.... now i link it to my browser and it works perfectly!!!!

Thanks for the assistance!!

Link to comment
Share on other sites

  • 11 months later...

I am trying to install the java runtime environment from the sun website to my Firefox 2.0.0.3. I followed the instructions from http://www.java.com/en/download/help/5000010500.xml#rpm.

 

But when I opened my firefox browser and browse to http://www.java.com/en/download/installed.jsp, the page displays but the applet doesn't load.

 

Any help on this?

Link to comment
Share on other sites

I am trying to install the java runtime environment from the sun website to my Firefox 2.0.0.3. I followed the instructions from http://www.java.com/en/download/help/5000010500.xml#rpm.

 

But when I opened my firefox browser and browse to http://www.java.com/en/download/installed.jsp, the page displays but the applet doesn't load.

 

Any help on this?

 

Finally, I was able to install the plugin to my Firefox browser. Here are the steps I did:

1) Execute the steps in http://www.java.com/en/download/help/5000010500.xml#rpm.

2) For the instruction in http://www.java.com/en/download/help/5000010500.xml#enable, make a link of the java directory to firefox and mozilla by executing the commands below:

cd /usr/lib/mozilla/plugins/										  <-- (mozilla directory)
ln -s /usr/java/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so		<-- (jre version is 1.6.0_01)
cd /usr/lib/firefox-2.0.0.3/plugins/									<-- (firefox directory)
ln -s /usr/java/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so

3) Go to Edit > Preferences. Under Content category > Select Enable Java.

Edited by Arvin Juan
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...