[opensuse] Java Plugin for Firefox
I am trying to enable java within the Firefox browser on opensuse 10.2 x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. There is a link to /usr/java/jre1.5.0_11 called "default" in the same directory. I also created the link "/usr/lib/browser-plugins/libjavaplugin_oji.so -> /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so" When I view the URL "about:plugins" I see the following with all the MIME Types enabled: Java(TM) Plug-in 1.5.0_11-b03 File name: libjavaplugin_oji.so Java(TM) Plug-in 1.5.0_11 However, when I try to verify my java installation from the Sun download site, I only see the red "X" in the corner of the applet box, and the status bar text displays "Applet jreCheck notinited" and "Applet testvm notinited". In the Java console I see: load: class jreCheck.class not found. and load: class jreVerify.class not found. along with many (Unknown Source) exceptions following the load errors. Searching Google has uncovered a possible proxy misconfiguration, but I'm not using any proxies. This workstation is unrestricted in that respect, it uses NAT for Internet connection not a proxy. Thank you for any help you can provide. I don't know what I'm missing, but something is definitely out of whack. ~Dale -- Dale Schuster Systems Administrator Sierra Nevada Corporation Information Systems -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dale Schuster wrote:
I am trying to enable java within the Firefox browser on opensuse 10.2 x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. There is a link to /usr/java/jre1.5.0_11 called "default" in the same directory. I also created the link "/usr/lib/browser-plugins/libjavaplugin_oji.so -> /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so"
When I view the URL "about:plugins" I see the following with all the MIME Types enabled:
Java(TM) Plug-in 1.5.0_11-b03
File name: libjavaplugin_oji.so Java(TM) Plug-in 1.5.0_11
However, when I try to verify my java installation from the Sun download site, I only see the red "X" in the corner of the applet box, and the status bar text displays "Applet jreCheck notinited" and "Applet testvm notinited".
In the Java console I see:
load: class jreCheck.class not found.
and
load: class jreVerify.class not found.
along with many (Unknown Source) exceptions following the load errors.
Searching Google has uncovered a possible proxy misconfiguration, but I'm not using any proxies. This workstation is unrestricted in that respect, it uses NAT for Internet connection not a proxy.
Thank you for any help you can provide. I don't know what I'm missing, but something is definitely out of whack.
~Dale
Sounds like you have loaded the Sun version of Java. SuSE built applications tend expect JRE info to be defined in particular locations. Use the SuSE RPM rather than SUN one unless you have very good reason to install the SUN version. The SUN bin version does not get registered in Yast or configured via other config tools. The basic Java settings are made in /etc/java/java.conf but be warned other things may need manual configuration. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGwqrSasN0sSnLmgIRAjNDAJ93As/33KU5PqGQiSOFOQdfB1QargCfW8PR iaXVXeWbWhmBySwRz6a5Vh0= =Te38 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
G T Smith <grahamsmith@gandalfsemporium.homelinux.com> wrote on 08/15/2007 12:27:15 AM:
Sounds like you have loaded the Sun version of Java. SuSE built applications tend expect JRE info to be defined in particular locations. Use the SuSE RPM rather than SUN one unless you have very good reason to install the SUN version. The SUN bin version does not get registered in Yast or configured via other config tools. The basic Java settings are made in /etc/java/java.conf but be warned other things may need manual configuration.
You were correct that I installed the Sun version of Java. So, I removed that and installed the version from the opensuse10.2 x86_64 DVD. Then I used yum to install the updates. No luck. I am still getting the same behavior, red "X" in the upper left corner of the applet box. And, messages informing me that "Applet notinited". I appreciate your help with this, as I am totally in the dark with where to proceed. This workstation is the only machine in our environment which can be used for this project, and without java within the browser our engineering dept. cannot complete a project they are working on. I have numerous SuSE workstations in the enterprise, and I have never come accross this issue. Please excuse me while I sit in the corner and cry. :'( But seriously, I am desperate for your help, and appreciate any wisdom you can share. Thank you. ~Dale -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Dale Schuster (Dale.Schuster@sncorp.com) [20070814 20:33]:
I am trying to enable java within the Firefox browser on opensuse 10.2 x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. There is a link to /usr/java/jre1.5.0_11 called "default" in the same directory.
What's the output of rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' MozillaFirefox AFAIR, the 32 bit version of Firefox is installed by default on x86-64 and that wpuld of cause need a 32bit java package. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philipp Thomas <pth@suse.de> wrote on 08/15/2007 09:41:57 AM:
* Dale Schuster (Dale.Schuster@sncorp.com) [20070814 20:33]:
I am trying to enable java within the Firefox browser on opensuse 10.2
x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. There is a link to /usr/java/jre1.5.0_11 called "default" in the same directory.
What's the output of
rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' MozillaFirefox
AFAIR, the 32 bit version of Firefox is installed by default on x86-64 and that wpuld of cause need a 32bit java package.
snc19385:/etc/java # rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' MozillaFirefox MozillaFirefoxopenSUSE 10.2 (i586) ~Dale -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Dale Schuster (Dale.Schuster@sncorp.com) [20070815 18:46]:
MozillaFirefoxopenSUSE 10.2 (i586)
Ok, that's a 32 bit package. Now what is the ouput of the same command for the Java package you installed? I just guess that it's a x86-64 package. If that's the case, install the 32 bit Java package instead and all should be OK. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philipp Thomas <pth@suse.de> wrote on 08/15/2007 09:49:49 AM:
* Dale Schuster (Dale.Schuster@sncorp.com) [20070815 18:46]:
MozillaFirefoxopenSUSE 10.2 (i586)
Ok, that's a 32 bit package. Now what is the ouput of the same command for the Java package you installed? I just guess that it's a x86-64 package. If that's the case, install the 32 bit Java package instead and all should be OK.
snc19385:/etc/java # rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' java-1_4_2-sun-plugin-1.4.2_update15-0.1 java-1_4_2-sun-pluginopenSUSE 10.2 (i586) Also, FYI: snc19385:/etc/java # file /usr/lib/jvm/java-1_4_2-sun-1.4.2_update15/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/jvm/java-1_4_2-sun-1.4.2_update15/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <OFB8B3EDB7.639A9D63-ON88257338.005DE7E0-88257338.005DFF72@sncorp.com> Date & Time: Wed, 15 Aug 2007 10:06:42 -0700 [Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written: Dale> snc19385:/etc/java # rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' Dale> java-1_4_2-sun-plugin-1.4.2_update15-0.1 Dale> java-1_4_2-sun-pluginopenSUSE 10.2 (i586) What! Different. That is; In the Message; Subject : [opensuse] Java Plugin for Firefox Message-ID : <OF4EBF4239.1D4D4DBD-ON88257337.006410BF-88257337.0065E5F1@sncorp.com> Date & Time: Tue, 14 Aug 2007 11:32:59 -0700 [Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written: Dale> I am trying to enable java within the Firefox browser on opensuse 10.2 Dale> x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. Dale> There is a link to /usr/java/jre1.5.0_11 called "default" in the same Dale> directory. I also created the link Dale> "/usr/lib/browser-plugins/libjavaplugin_oji.so -> Dale> /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so" You have installed Java 1.4.2 as well, haven't you? If so, uninstall Java 1.4.2. HTH, --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Masaru Nomiya <nomiya@galaxy.dti.ne.jp> wrote on 08/15/2007 10:44:32 AM:
Hello,
[Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written:
Dale> snc19385:/etc/java # rpm -q --queryformat '%-30{NAME}%{DISTRIBUTION}\n' Dale> java-1_4_2-sun-plugin-1.4.2_update15-0.1 Dale> java-1_4_2-sun-pluginopenSUSE 10.2 (i586)
What! Different.
That is;
In the Message;
Date & Time: Tue, 14 Aug 2007 11:32:59 -0700
[Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written:
Dale> I am trying to enable java within the Firefox browser on opensuse 10.2 Dale> x86_64. I installed the Sun Java .bin file under /usr/java/jre1.5.0_11. Dale> There is a link to /usr/java/jre1.5.0_11 called "default" in the same Dale> directory. I also created the link Dale> "/usr/lib/browser-plugins/libjavaplugin_oji.so -> Dale> /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so"
You have installed Java 1.4.2 as well, haven't you?
If so, uninstall Java 1.4.2.
I have installed many versions many times. It is easy to lose track of which versions are installed. Also, I think I'm unfamiliar with how to uninstall the Sun package. I assume it is simply rm -r /usr/java/jre1xxx. Uninstalling the SuSE RPM's is also simple. So, that is what I'll do now, uninstall every trace of java. Next, which version of Java should I install that has the greatest chance of working with Firefox? (And where do I obtain the java packages SuSE expects?) Help->About: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.5) Gecko/20061023 SUSE/2.0.0.5-1.1 Firefox/2.0.0.5 about:buildconfig: target i686-pc-linux-gnu Build tools Compiler Version - gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dale Schuster <Dale.Schuster@sncorp.com> wrote on 08/15/2007 10:55:52 AM:
I have installed many versions many times. It is easy to lose track of which versions are installed. Also, I think I'm unfamiliar with how to uninstall the Sun package. I assume it is simply rm -r /usr/java/jre1xxx. Uninstalling the SuSE RPM's is also simple. So, that is what I'll do now, uninstall every trace of java. Next, which version of Java should I install that has the greatest chance of working with Firefox? (And where
do I obtain the java packages SuSE expects?)
Help->About: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.5) Gecko/20061023 SUSE/2.0.0.5-1.1 Firefox/2.0.0.5
about:buildconfig: target i686-pc-linux-gnu Build tools Compiler Version - gcc version 4.1.2 20061115 (prerelease) (SUSE
Linux)
OK, I've removed java (as far as I know how), and I've reinstalled from RPM. rpm -U java-1_5_0-sun.rpm rpm -U java-1_5_0-sun-plugin.rpm These were downloaded from the following site: http://ftp.univie.ac.at/systems/linux/suse/update/10.2/rpm/i586/ Then I ran SuSEconfig just to be sure. Still the same problem. The plugin shows it loads from about:plugins, but the "Applet notinited" messages appear and the red "X" shows in the corner. Is it possible that the java version I just installed is still wrong for the system I'm running? Below is some output of the version info of firefox and java respectully. snc19385:~/javainst # file /usr/lib/jvm/jre-1.5.0-sun/bin/java /usr/lib/jvm/jre-1.5.0-sun/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped snc19385:~/javainst # find / -name firefox-bin /usr/lib/firefox/firefox-bin snc19385:~/javainst # file /usr/lib/firefox/firefox-bin /usr/lib/firefox/firefox-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped Again, thank you for helping such a lost soul. ~Dale -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <OF3F81B478.3BAEFA94-ON88257338.0073AFF5-88257338.007495E5@sncorp.com> Date & Time: Wed, 15 Aug 2007 14:13:25 -0700 [Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written: Dale> Is it possible that the java version I just installed is still wrong for Dale> the system I'm running? Below is some output of the version info of Dale> firefox and java respectully. Just show me the result of; % java -fullvarsion I've installed java 1.6.0_02-b05 which I got from Sun site. I works fine for me. --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <874pj06uxp.wl%nomiya@galaxy.dti.ne.jp> Date & Time: Thu, 16 Aug 2007 12:05:06 +0900 [Me] == Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written: Me> Hello, Me> In the Message; Me> Subject : Re: [opensuse] Java Plugin for Firefox Me> Message-ID : <OF3F81B478.3BAEFA94-ON88257338.0073AFF5-88257338.007495E5@sncorp.com> Me> Date & Time: Wed, 15 Aug 2007 14:13:25 -0700 Me> [Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written: Dale> Is it possible that the java version I just installed is still wrong for Dale> the system I'm running? Below is some output of the version info of Dale> firefox and java respectully. Me> Just show me the result of; Me> % java -fullvarsion Sorry for typo. % java -fullversion --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp "No Windows, no gains!" ..... "Why, I am wrong?" -- Bill -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <OF3F81B478.3BAEFA94-ON88257338.0073AFF5-88257338.007495E5@sncorp.com> Date & Time: Wed, 15 Aug 2007 14:13:25 -0700
[Dale] == Dale Schuster <Dale.Schuster@sncorp.com> has written:
Dale> Is it possible that the java version I just installed is still wrong for Dale> the system I'm running? Below is some output of the version info of Dale> firefox and java respectully.
Just show me the result of;
% java -fullvarsion
I've installed java 1.6.0_02-b05 which I got from Sun site. I works fine for me.
--- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
"Bill! You married with Computers. Not with Me!" "No..., with money."
I found the following at: http://www.softwareinreview.com/cms/content/view/60/ 64-bit users will have some trouble with the Java and video browser plugins because they are 64-bit by default, whereas Firefox in openSUSE is 32-bit by default so that it can better support proprietary plugins. I haven't had much luck trying to install i586 RPMs for these plugins in 64-bit openSUSE, but I did find that using the 64-bit version of Konqueror solved nearly every problem. Anything that wouldn't play or run in Firefox would play or run in Konqueror. Since Java Web applets are fairly rare, and most video sites are currently publishing in Flash or offer RealPlayer as an alternative, I suggest using Firefox for most things, and Konqueror (or Epiphany in GNOME) when Firefox can't play something. # end quote So, I did a fresh install of the 32 bit version and my troubles went away. Good luck, Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <46C3C3B3.9050007@sbcglobal.net> Date & Time: Wed, 15 Aug 2007 22:25:39 -0500 [Jim] == Jim Sabatke <jsabatke@sbcglobal.net> has written: Jim> I found the following at: Jim> http://www.softwareinreview.com/cms/content/view/60/ Jim> 64-bit users will have some trouble with the Java and video browser Jim> plugins because they are 64-bit by default, whereas Firefox in openSUSE Jim> is 32-bit by default so that it can better support proprietary plugins. I'm a 64-bit user, too. I've installed; 1. seamonkey 1.1.4 (32-bit version) 2. jre-6u2-linux-i586.rpm (got from Sun site) 3. MPlayer dev-SVN-r24074-4.1.2 (64-bit - self build) 4. mplayerplug-in-3.40-0.pm.1.i586.rpm 5. mozplugger-1.8.0-2.i586.rpm 5. AdobeReader_jpn-7.0.9-1.i386.rpm (got from Adobe site) 6. Flashplayer 90 r48 (SuSE's) With these, it works fine for me, except playning video which require win32 codecs (this is constrained by 64-bit MPlayer, not by browser). Of course, I've got any problems with java applet. Jim> run in Firefox would play or run in Konqueror. Since Java Web applets Jim> are fairly rare, and most video sites are currently publishing in Flash Jim> or offer RealPlayer as an alternative, I don't think Webs which use java are rare. For Japanese, we must make Japanuse Language environment for Java. And, MPlayer can play Flash movie and RealPlayer codecs, even with the 64-bit version, now. Jim> So, I did a fresh install of the 32 bit version and my troubles went away. Yes, with 32-bit SuSE, maybe more happy. :-) Regards, --- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp "No Windows, no gains!" ..... "Why, I am wrong?" -- Bill -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [opensuse] Java Plugin for Firefox Message-ID : <46C3C3B3.9050007@sbcglobal.net> Date & Time: Wed, 15 Aug 2007 22:25:39 -0500
[Jim] == Jim Sabatke <jsabatke@sbcglobal.net> has written:
Jim> I found the following at:
Jim> http://www.softwareinreview.com/cms/content/view/60/
Jim> 64-bit users will have some trouble with the Java and video browser Jim> plugins because they are 64-bit by default, whereas Firefox in openSUSE Jim> is 32-bit by default so that it can better support proprietary plugins.
I'm a 64-bit user, too. I've installed;
1. seamonkey 1.1.4 (32-bit version) 2. jre-6u2-linux-i586.rpm (got from Sun site) 3. MPlayer dev-SVN-r24074-4.1.2 (64-bit - self build) 4. mplayerplug-in-3.40-0.pm.1.i586.rpm 5. mozplugger-1.8.0-2.i586.rpm 5. AdobeReader_jpn-7.0.9-1.i386.rpm (got from Adobe site) 6. Flashplayer 90 r48 (SuSE's) <snip>
Those worked for me also with 64 bit SuSE.
I don't think Webs which use java are rare. For Japanese, we must make Japanuse Language environment for Java.
I agree with that assessment also.
And, MPlayer can play Flash movie and RealPlayer codecs, even with the 64-bit version, now.
Jim> So, I did a fresh install of the 32 bit version and my troubles went away.
Yes, with 32-bit SuSE, maybe more happy. :-)
Regards,
--- Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
"No Windows, no gains!" ..... "Why, I am wrong?"
-- Bill --
I dislike the limitation, but it's there to deal with and the only way to get java working is to install the 32 bit version. I didn't see where the 64 bit version was going to give me much anyway. Good luck, Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Dale Schuster
-
G T Smith
-
Jim Sabatke
-
Masaru Nomiya
-
Philipp Thomas