LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04: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, 05:02 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 05: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, 05: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, 05:22 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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 05:24 PM.
 
Old 01-23-2007, 05: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, 07:29 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 11: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, 11:27 AM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
Did you enable java in the Firefox preferences?
 
Old 01-24-2007, 11: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, 12:03 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
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, 12:19 PM   #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, 02:46 PM   #13
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
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


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


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