[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mozilla 1.3 and Java j2sdk-1.4.1_02-fcs



On Wed, 26 Mar 2003 22:38:52 -0500, Michael Fratoni wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 26 March 2003 05:01 pm, Mike Vanecek wrote:
> > Mozilla 1.3 release notes say that it is only compatible with java
> > compiled with GCC 3.2 which is available from the Blackdown project.
> >
> > However, they also say a version with GCC 3.2 is also rumored to be
> > available from Sun sometime soon.
> >
> > I have j2sdk-1.4.1_02-fcs installed. I have looked at the java doco,
> > but am unable to determine if this is the version compiled with GCC
> > 3.2. Hate to reinstall the Blackdown project one if it is not
> > necessary. How can I tell whether j2sdk-1.4.1_02-fcs was compiled with
> > GCC 3.2?
> 
> It appears that mozilla only requires that the plugin be compiled 
> with gcc-3.2. I was able to keep my older version of Sun's j2re rpm 
> package 
> (j2re-1.4.1-fcs).
> 
> I downloaded and uncompressed the blackdown java package built with 
> gcc-3.2, and copied only the plugin to my existing java directory. 
> In my case: /usr/java/j2re1.4.1/plugin/i386/ns610/javaplugin_oji.so
> 
> I removed the old link in /usr/lib/mozilla/plugins/, and created one 
> to the new version. (in other words, I removed the link to 
>  libjavaplugin_oji.so and created a new one pointing to  javaplugin_oji.so.
> 
> Seems to work fine.

Did not work for me. My guess is that I have j2sdk-1.4.1_02-fcs from java.sun
installed. However, the blackstone is for j2sdk-1.4.1-01. Installation details
shown below. The java plugin shows up in Mozilla, but if I link to something
that uses java Mozilla hangs. 

Do you see anything I missed?

I guess I either wait for a gcc 3.2 from sun or I rpm -e the sun version and
install the blackstone version. 

Sun version of java installed:

[root team900 root]# rpm -qa | grep -i j2
j2sdk-1.4.1_02-fcs

Installed Mozilla 1.3

[root team900 root]# rpm -qa | grep -i mozilla
mozilla-1.3-0_rh8_xft
mozilla-nss-1.3-0_rh8_xft
mozilla-psm-1.3-0_rh8_xft
mozilla-nspr-1.3-0_rh8_xft


downloaded the Blackstone version of java

[admin team900 admin]$ d j2sdk-1.4.1-01-linux-i586-gcc3.2.bin
-rwxr-----    1 admin    admin         39M Mar 28 11:49
j2sdk-1.4.1-01-linux-i586-gcc3.2.bin*

Extracted the plugin and copied it to the java plugin location and inserted
the required symbolic link

[admin team900 mozilla]$ pwd
/home/admin/j2sdk1.4.1/jre/plugin/i386/mozilla
[admin team900 mozilla]$ d
total 260K
drwxr-xr-x    2 admin    admin        4.0K Jan 13 10:03 ./
drwxr-xr-x    4 admin    admin        4.0K Feb 11 12:10 ../
-rw-r--r--    1 admin    admin        244K Jan 13 10:03 javaplugin_oji.so

Copied blackstone version after renaming the sun version:

[root team900 ns610]# pwd
/usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610

[root team900 ns610]# d
total 532K
drwxr-xr-x    2 root     bin          4.0K Mar 28 14:46 ./
drwxr-xr-x    5 root     bin          4.0K Mar 28 14:24 ../
-rwxr-xr-x    1 root     bin          244K Mar 28 14:33 libjavaplugin_oji.so*
-rwxr-xr-x    1 root     bin          267K Feb 20 17:07 libjavaplugin_oji.so.org*

Symbolic link:

[root team900 plugins]# pwd
/usr/lib/mozilla/plugins
[root team900 plugins]# d
total 1.6M
drwxr-xr-x    2 root     root         4.0K Mar 28 14:39 ./
drwxr-xr-x    3 root     root         4.0K Jan 19 21:04 ../
-rw-r--r--    1 root     root          856 Jan 19 21:15 flashplayer.xpt
-rwxr-xr-x    1 root     root         1.4M Jan 19 21:14 libflashplayer.so*
lrwxrwxrwx    1 root     root           66 Mar 28 14:39 libjavaplugin_oji.so
-> /usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so*
-rwxr-xr-x    1 root     root         127K Oct 17 00:08 nppdf.so*
-rwxr-xr-x    1 root     root          28K Aug 28  2002 plugger.so*


Thank you for the help.

Mike.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]