LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-23-2007, 03:54 PM   #1
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
JRE1.5.0_09 can't install


I cannot getfirefox to run a java applet 1.5.0_09, it keeps saying missing plugin.

This is what I've done.

1. downloaded the jre-1_5_0_09-linux-i586.bin to /usr/java
2. chmod 775 jre-1_5_0_09-linux-i586.bin
3. ./jre-1_5_0_09-linux-i586.bin
4. took all defaults, when asked
5. created link in /usr/lib/firefox/plugins by
cd /usr/lib/firefox/plugins
ln -s /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so
6. closed all firefox windows
7. restarted machine
8. started firefox, and still missing plugin

can anyone explain what I did wrong, I am on SUSE Desktop linux 10

Richard
 
Old 01-23-2007, 04:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Check to see that it created a good link in step 9
Are you sure that you want the ns7 version and not the one with gcc-something?
Note that the most recent jre is 1_5_0_10

Check the instructions at the java site....
 
Old 01-23-2007, 04:13 PM   #3
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
yes, the link looks good, it is shaded blue. how would I knowif i need to use the ns7-gcc29?
 
Old 01-23-2007, 04:19 PM   #4
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
ok, i removed the link i had created and created a link using the gcc29 directory. firefox would not startup, so I switched back to the ns7 directory and firefox started.

I assume this means I should use the ns7 directory,

Richard
 
Old 01-23-2007, 04:22 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Follow the direections here:
Installing Sun's Java on SUSE Linux - openSUSE
http://en.opensuse.org/Installing_Sun's_Java_on_SUSE_Linux

/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/plugin/i386/ns7/libjavaplugin_oji.so

Is more than likely the correct location, at least it is in Debian.

Last edited by craigevil; 01-23-2007 at 04:24 PM.
 
Old 01-23-2007, 04:57 PM   #6
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
ok, I used yast as instructed, and re-linked using the jvm directory:

lrwxrwxrwx 1 root root 61 Jan 23 14:49 libjavaplugin_oji.so -> /usr/lib/jvm/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so

with the same results. the java applet pages still come up with missing plugin, and it trys to direct me to load the jre 1.4.2 from the sun download page: http://java.sun.com/j2se/1.4.2/download.html

Richard
 
Old 01-23-2007, 06:29 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
So the applet wants an older version of jre? Is it possible there is a newer version of the applet available?
And what is the applet?

Quote:
re-linked using the jvm directory:
This is different than before--did you move jre from /usr/java to /usr/lib/jvm?
 
Old 01-24-2007, 10:23 AM   #8
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
No, I'm sure the applet was written using a java 1.5 version as it is an in-house application.

I tried using the yast method to the same results. what bugs me is when I do a
java -version I do get 1.5.0_09. So why wouldn't firefox see this too.

Richard
 
Old 01-24-2007, 10:27 AM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Did you enable java in the Firefox preferences?
 
Old 01-24-2007, 10:55 AM   #10
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
yes, both java and javascript are checked on.

the jvm directory link was suggested by Craigevil.
 
Old 01-24-2007, 11:03 AM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
In that case, are you absutively posolutely sure that the firefox you're running is the one in /usr/lib/firefox? Try going there and typing ./firefox and see if it starts working.
 
Old 01-24-2007, 11:19 AM   #12
RichardMendoza
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
ok, I believe thats it.
I did a which firefox, that had firefox as /usr/bin/firefox
I check /usr/bin/firefox and that had a link to /usr/lib/firefox/firefox.sh
inside firefox.sh there is a change to the browser plugin directory. It does not look in: /usr/lib/firefox/plugins, it re-directs it to /usr/$LIB/browser-plugins

BROWSER_PLUGIN_DIR=/usr/$LIB/browser-plugins
if [ ! -d $BROWSER_PLUGIN_DIR ]; then
BROWSER_PLUGIN_DIR=/opt/netscape/plugins
fi

The link there still had it pointing to the old java version.

thanks for all your assistance.

Richard
 
Old 01-24-2007, 01:46 PM   #13
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I wouldn't think you'd need a shell to run firefox. Just point directly to /usr/lib/firefox/firefox. Or is this left over from a previous version?
 
  


Reply



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
jre1.3.1_18 problem setup ThePenguin Linux - Software 1 06-15-2006 11:08 AM
Downloaded Jre1.5.0 and the plugin online Balarabay1 SUSE / openSUSE 22 03-23-2006 11:19 PM
How to delete the jre1.5? zhuqlfeixia Linux - Software 6 01-25-2006 02:07 AM
Firefox 1.0 won't launch w/Jre1.5.0 installed raysr Linux - Software 6 11-11-2004 01:55 PM
Jre1.5.0 FrostBot Linux - Software 0 08-24-2004 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 PM.

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
Open Source Consulting | Domain Registration