I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I go to: http://java.com/en/download/help/enable_browser.xml
And yes, Java is enabled but still get the dreaded 'download plugin'.
I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
Robert Moskowitz wrote:
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I go to: http://java.com/en/download/help/enable_browser.xml
And yes, Java is enabled but still get the dreaded 'download plugin'.
I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
The secret is in 'alternatives', here is what I do in my kickstart scripts (mind the wrap):
# Remove Sun added links rm -f /usr/bin/javaws rm -f /usr/bin/jcontrol
# Add Sun Java to alternatives alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry
# Set Sun Java as the preferred Java environment alternatives --set java /usr/java/default/bin/java
This should work even if you upgrade the Sun Java version.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Ross S. W. Walker wrote:
Robert Moskowitz wrote:
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I go to: http://java.com/en/download/help/enable_browser.xml
And yes, Java is enabled but still get the dreaded 'download plugin'.
I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
The secret is in 'alternatives', here is what I do in my kickstart
By 'kickstart', you have a custom install that does this for all of your systems????
scripts (mind the wrap):
# Remove Sun added links rm -f /usr/bin/javaws rm -f /usr/bin/jcontrol
# Add Sun Java to alternatives alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry
I **think** this ran right. Afterall, I did not have a path to alternatives, and I had to hit the up key then home then insert /usr/sbin/ so yeah, I minded the wrap.
# Set Sun Java as the preferred Java environment alternatives --set java /usr/java/default/bin/java
This should work even if you upgrade the Sun Java version.
And I shut down firefox (after I did this), restarted it, and still am getting 'Install missing Plugins' for the site: www.uniwho.com (local plumbing supplier).
-Ross
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Robert Moskowitz a écrit :
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I have written a complete HOWTO here:
http://www.microlinux.fr/article.php3?id_article=13
Scroll down to "Installation du plugin Java". It's in french, but the most interesting parts are in plain shell lingo :oD
Cheers,
Niki
Niki Kovacs wrote:
Robert Moskowitz a écrit :
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I have written a complete HOWTO here:
http://www.microlinux.fr/article.php3?id_article=13
Scroll down to "Installation du plugin Java". It's in french, but the most interesting parts are in plain shell lingo :oD
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
/usr/sbin/alternatives --display java
java - status is manual. link currently points to /opt/jre1.6.0_05/bin/java /usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420 slave javaws: (null) slave jcontrol: (null) slave keytool: /usr/lib/jvm/jre-1.4.2-gcj/bin/keytool slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj slave jre: /usr/lib/jvm/jre-1.4.2-gcj /usr/java/default/bin/java - priority 1000 slave javaws: /usr/java/default/bin/javaws slave jcontrol: /usr/java/default/bin/jcontrol slave keytool: (null) slave rmiregistry: /usr/java/default/bin/rmiregistry slave jre_exports: (null) slave jre: /usr/java/default /opt/jre1.6.0_04/bin/java - priority 2 slave javaws: (null) slave jcontrol: (null) slave keytool: (null) slave rmiregistry: (null) slave jre_exports: (null) slave jre: (null) /opt/jre1.6.0_05/bin/java - priority 2 slave javaws: (null) slave jcontrol: (null) slave keytool: (null) slave rmiregistry: (null) slave jre_exports: (null) slave jre: (null) Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Ray
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and
basically flunked
High School Spanish back in the '60s), but still not
working. Here is what
I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libja vaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Ah, yes, the missing ingredient.
There really should be a standard web browser plugin directory for all these instead of having to create links all over the place.
1 for konqueror, 1 for opera, 1 for firefox, I suppose seamonkey has it's own too. Jeez
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Uh, I see more 'challenges'
ls /usr/lib/jvm java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
So where is 6.5?
locate libjavaplugin_oji
/usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Please advise...
ANd with all I have done, documenting what is needed will be a bear!
Robert Moskowitz wrote:
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Uh, I see more 'challenges'
ls /usr/lib/jvm java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
So where is 6.5?
locate libjavaplugin_oji
/usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That's the one
ln -s /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.5.0.12/plugins/libjavaplugin_oji.so
Using 'default' should make the link stay valid across upgrades.
/usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Please advise...
ANd with all I have done, documenting what is needed will be a bear!
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
BTW, I typically use the procedure documented here:
http://wiki.centos.org/HowTos/JavaOnCentOS
And build RPM's from jpackage using the Sun 1.6.0 JDK. Works pretty well except jpackage is often times slow to release a new nosrc RPM when Sun releases a new version of the JDK.
For example, the latest jpackage nosrc RPM is for update 4 which you can no longer download from Sun as update 5 is now current.
I did find update 4 here:
http://cleaver.demonolatria.org/ftp/progs/jdk-6u4-linux-i586.bin
Ray
Ross S. W. Walker wrote:
Robert Moskowitz wrote:
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Uh, I see more 'challenges'
ls /usr/lib/jvm java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
So where is 6.5?
locate libjavaplugin_oji
/usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That's the one
ln -s /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.5.0.12/plugins/libjavaplugin_oji.so
Using 'default' should make the link stay valid across upgrades.
I do not have a plugin directory under /usr/java/default
/usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Please advise...
ANd with all I have done, documenting what is needed will be a bear!
-Ross
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Mar 07, 2008 at 11:55:34AM -0500, Robert Moskowitz wrote:
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Uh, I see more 'challenges'
ls /usr/lib/jvm java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
So where is 6.5?
locate libjavaplugin_oji
/usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Please advise...
ANd with all I have done, documenting what is needed will be a bear!
Try:
# ln -s /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.5.0.12/plugins
The stuff in /usr/lib/jvm looks like the gcc java implementation.
Ray
Got it!
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:55:34AM -0500, Robert Moskowitz wrote:
Ray Van Dolson wrote:
On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
I think I followed your instructions (I am dyslexic and basically flunked High School Spanish back in the '60s), but still not working. Here is what I get:
Have you actually installed the plugin in Firefox though?
# cd /usr/lib/firefox-1.5.0.12/plugins # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
Your path to libjavaplugin_oji.so will be different most likely.
Uh, I see more 'challenges'
ls /usr/lib/jvm java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
So where is 6.5?
locate libjavaplugin_oji
/usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Please advise...
ANd with all I have done, documenting what is needed will be a bear!
Try:
# ln -s /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.5.0.12/plugins
This did the trick. The final piece of magic for java plugin.
Now to only record what is the NECESSARY magic to have it for the next system....
And perhaps undo anything which will cause problems.
Meanwhile I still need to install Freemind, and that is still calling for
---> Package java-1.4.2-sun-compat.i586 0:1.4.2.10-1jpp set to be updated
and missing dependecies:
Error: Missing Dependency: xml-commons-jaxp-1.3-apis is needed by package ws-jaxme Error: Missing Dependency: j2sdk = 2000:1.4.2_10-fcs is needed by package java-1.4.2-sun-compat
Robert Moskowitz wrote:
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
I go to: http://java.com/en/download/help/enable_browser.xml
And yes, Java is enabled but still get the dreaded 'download plugin'.
I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
I'm using the icedtea java plugin and it is working out fantastically for my (admittedly rare) java plugin needs.
It's in CentOS Testing. Here's the yum.repos.d entry:
[c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
There's a URL to download it - I don't remember where, someone here will know.
Leave enabled=0 You don't want it enabled for everyday use.
then -
yum --enablerepo=c5-testing update jpackage-utils yum --enablerepo=c5-testing install tzdata-java \ java-1.7.0-icedtea-plugin
I have installed both:
jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin
But no Java plugin in Firefox.
You need to symlink the plugin into the plugins directory. Copying won't work.
Try this:
ln -s /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
This is a one line command regardless of how it comes across in email.
Barry