Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  
avogodro

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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!!

Share this post


Link to post
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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×