Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Jun 2007 14:56:38 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Thu, 14 Jun 2007, Urs Beyerle wrote:
> Michael H. Semcheski wrote:
>> Hello,
>>
<snip.
>> Yum says I have gcj 1.4.2 and java-1.5.0-sun-compat.noarch installed.
>> I downloaded the java 6 jre from java.com as a binary installer, which
>> unpacks to an rpm and installed it.
>>
>> I've created symlinks to the sun plugin in /usr/lib/mozilla/plugins,
>> mucked with about:config java:java_plugin_library_name.
>>
>> I really need the Sun JRE, but they don't make it easy, do they? Any
>> suggestions?
>
> What I have:
> jdk-1.6.0_01-fcs downloaded from Sun and installed with rpm -Uhv.
>
> java-1.6.0-sun-compat-1.6.0.01-1jpp rebuild from SRPM, downloaded from
> http: //www.jpackage.org/ - you find it here:
> http: //linux.web.psi.ch/dist/scientific/50/psi/all/java-1.6.0-sun-compat-1.6.0.01-1jpp.i586.rpm
>
> firefox plugin works with the rpms.
>
> By the way, the link in /usr/lib/mozilla/plugins is done by
> java-1.6.0-sun-compat-1.6.0.01-1jpp:
> $ ll /usr/lib/mozilla/plugins/libjavaplugin_oji.so
> lrwxrwxrwx 1 root root 77 Jun 8 20:56
> /usr/lib/mozilla/plugins/libjavaplugin_oji.so ->
> /usr/lib/jvm/java-1.6.0-sun-1.6.0.01/jre/plugin/i386/ns7/libjavaplugin_oji.so
We download the non-rpm version (for historical reasons and because we
need to have several different versions of the JRE/JDK installed), and
then just make symlinks from the mozilla-seamonkey and firefox plugins
trees (because that is how we have always done it)...
e.g. for firefox we do
...
my $moz_inst="/usr/lib/firefox-$mver";
...
(hackery for lib64 stuff)
...
chdir($moz_inst) || die ("Can't chdir to $moz_inst: $!");
...
for $targ (keys(%elinks)) {
...
symlink($elinks{$targ}, $targ);
...
where for plugins/libjavaplugin_oji.so that currently points off at
/opt/sunjava/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
We do the same process for mozilla-seamonkey except that obviously
$moz_inst starts off being /usr/lib/mozilla-$moztype-$mver or something...
What is the /usr/lib/mozilla/plugins/ tree for? Stuff that is shared by
*both* firefox and mozilla or something else?
--
Jon Peatfield, Computer Officer, DAMTP, University of Cambridge
Mail: [log in to unmask] Web: http://www.damtp.cam.ac.uk/
|
|
|