LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-09-2007, 12:24 AM   #1
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Rep: Reputation: 15
Firefox 2.0.0.5 and JRE 6.0.2


I've looked at every thread I can find regarding Firefox and JRE 6 and nothing seems to offer a solution to my problem. I tried to install JRE 6.0 from the RPM file and came up with several screens' worth of unsatisfied dependencies. I then tried installing from the .bin file, created the symbolic link to libjavaplugin_oji.so in the /usr/lib/mozilla/plugins/ directory, and it appeared to be happy until I tried to run an applet -- the output from the applet was just a plain white area. It doesn't bomb off Firefox, it doesn't tell me I need to install the JRE -- nothing.

I tried the Sun "Verify Installation" page; it did nothing for a minute or so, then reloaded the page, waited another minute or so, and finally went to the page with the "Test your JVM" applet on it. The space for the Java configuration display is blank white, including the area below it where the dancing Duke logo should be. All of the HTML shows up just fine; it's just the applet display that doesn't do squat.

This is getting very, very frustrating...
 
Old 08-09-2007, 02:03 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
You can write
Code:
about:plugins
in the address bar of firefox to verify that it sees the java plugin.
 
Old 08-18-2007, 08:39 PM   #3
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
You can write
Code:
about:plugins
in the address bar of firefox to verify that it sees the java plugin.
Sorry it took so long for me to reply; I've been out of town without a PC.

OK, did that. It reports using "Java(TM) Plug-in 1.6.0_02-b05". And, the page I just tested it on still presents no prompt to download Java, but also no useful image -- or, indeed, image of any kind.

I realize this is probably a dumb mistake of some kind in downloading and/or configuring Java/Firefox/X11/whatever; I've had problems before that turned out to have embarrassingly simple causes and solutions both. But, so far, I don't have a clue what that mistake might be.
 
Old 08-20-2007, 02:09 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Did you use this page to verify your plugin installation?
Which one of the two libjavaplugin_oji.so di you use to symlink in the plugins directory? You should use the one under the subdirectory plugin/i386/ns7 and not the one under plugin/i386/ns7-gcc29.
 
Old 08-20-2007, 04:00 PM   #5
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
Did you use this page to verify your plugin installation?
Which one of the two libjavaplugin_oji.so di you use to symlink in the plugins directory? You should use the one under the subdirectory plugin/i386/ns7 and not the one under plugin/i386/ns7-gcc29.
Yes, that's the page I used. When I clicked the green "VERIFY INSTALLATION" bar, it showed the "rotating circle of circles" for about 30 seconds, refreshed and stayed for another 30 seconds, then redirected to this page -- with a blank white space between the "Test your JVM" line and the paragraph beginning "This page tests to see ...".

I linked to the libjavaplugin_oji.so under plugin/i386/ns7. (Actually, I tried both; I forget what the other one did, but it also wasn't right; I stayed with this one because it was the one cited as correct.)

Addendum: FWIW, I posted this reply (without this addendum), then relinked to the plugin/i386/ns7-gcc29 version, restarted Firefox, and tried again. It bombed off Firefox immediately, just as I remember reading that it would. I've now linked back to the plugin/i386/ns7 version, with the same results I described above.

Last edited by andymck; 08-20-2007 at 04:20 PM. Reason: Restesting subject matter
 
Old 08-21-2007, 01:50 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
You should check if java is enabled in your browser. Go to: Edit-->Preferences-->Content and make sure the "Enable Java" option is checked.
 
Old 08-22-2007, 07:32 PM   #7
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
You should check if java is enabled in your browser. Go to: Edit-->Preferences-->Content and make sure the "Enable Java" option is checked.
Yup -- JavaScript as well (in case that matters, and it almost certainly shouldn't).

BTW, lest I forget later: Thanks for taking the time to work with me on this. I really, really appreciate the help.
 
Old 08-23-2007, 02:15 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Perhaps you should read this and maybe downgrade your java to 1.5.

Regards
 
Old 08-24-2007, 08:30 PM   #9
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
Perhaps you should read this and maybe downgrade your java to 1.5.

Regards
OK, did all of that on the link; "about:plugins" now shows

Java(TM) Plug-in 1.6.0_02-b05

File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.6.0_02

(which, unless I missed a minor detail, is what I already had). My results are unchanged, i.e., running a java applet results in a blank white field where the output of the applet should be.

You may be right about downgrading to 1.5 -- but, dammit (not aimed at you, but at the java world in general), many of the applets I find insist they need 1.6. Maybe I'm being unreasonable, but this looks to me like it's Sun's fault, not mine. Believe me, there's nothing all that exotic about my hardware, and I'm not aware of any installation mistakes that I've made and not corrected -- in fact, that kind of mistake is exactly what I was hoping someone could help me find.
 
Old 08-24-2007, 08:59 PM   #10
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Put

export JRE_HOME=/path/to/java

at the bottom of your /etc/profile.
 
Old 08-25-2007, 05:19 PM   #11
gr8scot
Member
 
Registered: Jun 2007
Distribution: Debian
Posts: 73

Rep: Reputation: 16
Angry similar problem, /etc/profile edit doesn't fix it

Quote:
Originally Posted by jay73 View Post
Put

export JRE_HOME=/path/to/java

at the bottom of your /etc/profile.
I added the line
export JRE_HOME=/usr/lib/java/jre1.6.0_02/bin/
but Java Applets still don't load. Followed these instructions,
http://java.sun.com/j2se/1.5.0/manua...all_linux.html
Using Debian 4.0 i386

Here's the punch line ...
address bar = about: plugins

Installed plug-ins
Find more information about browser plug-ins at mozilla.org.
Help for installing plug-ins is available from plugindoc.mozdev.org.
Java(TM) Plug-in 1.6.0_02-b05

File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.6.0_02
application/x-java-vm Java Yes
application/x-java-applet Java Yes
application/x-java-applet;version=1.1 Java Yes
application/x-java-applet;version=1.1.1 Java Yes
application/x-java-applet;version=1.1.2 Java Yes
application/x-java-applet;version=1.1.3 Java Yes
application/x-java-applet;version=1.2 Java Yes
application/x-java-applet;version=1.2.1 Java Yes
application/x-java-applet;version=1.2.2 Java Yes
application/x-java-applet;version=1.3 Java Yes
application/x-java-applet;version=1.3.1 Java Yes
application/x-java-applet;version=1.4 Java Yes
application/x-java-applet;version=1.4.1 Java Yes
application/x-java-applet;version=1.4.2 Java Yes
application/x-java-applet;version=1.5 Java Yes
application/x-java-applet;version=1.6 Java Yes
application/x-java-applet;jpi-version=1.6.0_02 Java Yes
application/x-java-bean Java Yes
application/x-java-bean;version=1.1 Java Yes

etc.
(It also detects java-beans up to the current version.)
I'm going to try Konqueror.

Last edited by gr8scot; 08-25-2007 at 05:21 PM. Reason: java, Mozilla, Debian, plugin problem
 
Old 08-25-2007, 05:44 PM   #12
gr8scot
Member
 
Registered: Jun 2007
Distribution: Debian
Posts: 73

Rep: Reputation: 16
Cool

Quote:
Originally Posted by gr8scot View Post
I'm going to try Konqueror.
Works like a charm!
 
Old 08-25-2007, 06:17 PM   #13
gr8scot
Member
 
Registered: Jun 2007
Distribution: Debian
Posts: 73

Rep: Reputation: 16
Wink I found this thread helpful

Quote:
Originally Posted by andymck View Post
I've looked at every thread I can find regarding Firefox and JRE 6 and nothing seems to offer a solution to my problem.

...

This is getting very, very frustrating...
I recently solved a similar experience.
http://www.linuxquestions.org/questi...d.php?t=576793
 
Old 08-25-2007, 09:11 PM   #14
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gr8scot View Post
I recently solved a similar experience.
http://www.linuxquestions.org/questi...d.php?t=576793
If by this you mean that you set the correct link to libjavaplugin_oji.so in your plugins directory, then I already did that; if not, then I'm not seeing what part of your fix I'm still missing.
 
Old 08-25-2007, 09:21 PM   #15
andymck
Member
 
Registered: Aug 2006
Location: Garland, TX, USA
Distribution: Fedora
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
Put

export JRE_HOME=/path/to/java

at the bottom of your /etc/profile.
Ah-HAH! This sounds like what I've been looking for. What should "/path/to/java" be -- the path to the java binary (/usr/bin/java), the path to the JRE directory, or what? Also, can you point me to a link to where JRE_HOME is documented?

Finally, a side note: Wouldn't it be more in "flavor" to put the above line in a file named something like "/etc/profile.d/jre.sh"? (Or am I being too "linux-geeky"?)
 
  


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
JRE in Firefox dalponis Linux - Software 2 01-07-2006 10:23 PM
firefox 1.0.4 / jre 1.4.1_02 undef00 Linux - Software 7 08-11-2005 05:18 PM
FC4, Firefox 1.0.4 and JRE 1.4.2 webwolf70 Fedora 11 06-19-2005 01:13 PM
jre blips out Firefox dfowensby Fedora 1 01-26-2005 01:48 AM
Firefox and JRE merchtemeagle Linux - Newbie 3 10-17-2004 09:37 AM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration