Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java and mozilla-0.9

0 views
Skip to first unread message

Juergen Scholich

unread,
May 9, 2001, 3:48:49 AM5/9/01
to
Hi,
until now, I have no success in using jre.xpi unter mozilla-0.9.
I扉e tried it with the jre.xpi from ns6.0 and ns6.01, and with the
automaticly installed.
After the installed jre, the browser hangs while resolving names.
(the same one, that where found without problems before the
jre-install).
Please, can I kindly sol point me into the right direction.
Cheers,
Juergen

hihihi

unread,
Jun 24, 2001, 4:19:54 AM6/24/01
to
Juergen Scholich wrote:

> Hi,
> until now, I have no success in using jre.xpi unter mozilla-0.9.
> I扉e tried it with the jre.xpi from ns6.0 and ns6.01, and with the
> automaticly installed.
> After the installed jre, the browser hangs while resolving names.
> (the same one, that where found without problems before the
> jre-install).

I have about the same problem wint mozilla 0.9.1
On red hat 7.1

Martin Andersen

unread,
Jun 24, 2001, 6:05:13 AM6/24/01
to
hihihi wrote:


>
> I have about the same problem wint mozilla 0.9.1
> On red hat 7.1
>
>
>
>

As mentioned below, do this in Redhat 7.1 :
$ export LD_ASSUME_KERNEL=2.2.5

Martin.

hihihi

unread,
Jun 24, 2001, 1:58:03 PM6/24/01
to
Martin Andersen wrote:

Thanks, it did the trick :-)

But won't it harm other progs ?
Assuming that it is kernel 2.2.5 sounds as if other progs won't like
it..
(what do i know :-) )


Martin Andersen

unread,
Jun 24, 2001, 2:43:56 PM6/24/01
to
hihihi wrote:


> Thanks, it did the trick :-)
>
> But won't it harm other progs ?
> Assuming that it is kernel 2.2.5 sounds as if other progs won't like
> it..
> (what do i know :-) )

From ...mozilla.java newsgroup :

From ...mo>Some Java JVMs (both from Sun and IBM) don't work with the new
floating stack
>feature of the i686 version of glibc. The failures are due to programming
>assumptions in the JVMs that are now invalid. JVM vendors are working
on making
>the necessary corrections. Until corrected JVM packages are available,
you may
>force glibc to use the deprecated stack model by setting the following
>environment variable:
>
>LD_ASSUME_KERNEL=2.2.5zilla.java newsgroup

So maybe it will harm other programmes, but it should be only temp. until
a new java is ready.

Martin.


Warren Pollans

unread,
Jul 2, 2001, 10:14:10 PM7/2/01
to
I have tried the remedies posted here - to no avail!

I'm running:
RH7.1
Mozilla .92 (build 2001062823)
J2SEv1.3.1

I can't get the jave plugin from the jre of J2SE to show up in the
Help:About_Plugins window. The *.so in the ns4 directory works fine
with netscape 4.76. The java demos work fine.

What am I missing?

Here's what I have:

----------------[ java ]------------------------
[/home/warren] java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

----------------[ mozilla ]--------------------------
[/home/warren] /usr/local/mozilla/mozilla
/usr/local/mozilla/run-mozilla.sh /usr/local/mozilla/mozilla-bin
MOZILLA_FIVE_HOME=/usr/local/mozilla
LD_LIBRARY_PATH=/usr/local/mozilla:/usr/local/mozilla/plugins:/usr/lib
LIBRARY_PATH=/usr/local/mozilla:/usr/local/mozilla/components
SHLIB_PATH=/usr/local/mozilla
LIBPATH=/usr/local/mozilla
ADDON_PATH=/usr/local/mozilla
MOZ_PROGRAM=/usr/local/mozilla/mozilla-bin
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=

-----------------[ /usr/local/mozilla/plugins ]-----------
[/home/warren] ls -la /usr/local/mozilla/plugins
total 22
drwxr-xr-x 2 root root 1024 Jul 1 23:03 .
drwxr-xr-x 9 root root 1024 Jul 2 20:06 ..
lrwxrwxrwx 1 root root 61 Jul 1 23:03
libjavaplugin_oji.so ->
/usr/java/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 18904 Jun 28 23:54
libnullplugin.so

-----------------[ .profile ]----------------
I have tried with 0, 1, or both of the following:

export NPX_PLUGIN_PATH=/usr/java/jdk1.3.1/jre/plugin/i386/ns600
export LD_ASSUME_KERNEL=2.2.5
---------------------------------------------------

Christopher Blizzard

unread,
Jul 3, 2001, 9:58:01 AM7/3/01
to Warren Pollans, mozill...@mozilla.org
Warren Pollans wrote:

> I have tried the remedies posted here - to no avail!
>
> I'm running:
> RH7.1
> Mozilla .92 (build 2001062823)
> J2SEv1.3.1


Don't use the LD_ASSUME_KERNEL if you're running 1.3.1. It's not going
to work. As for the JVM I've been using it and it seems to work fine
for me.

--Chris

--
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
Mozilla.org - we're on a mission from God. Still.
------------

abuk

unread,
Jul 7, 2001, 5:42:27 AM7/7/01
to

Warren Pollans wrote:

I had (and still have) the same problem with Mozilla 0.9.1 on a RedHat
7.1 box.
I tried different jre versions (the SUN and IBM ones),the symlinks are
OK, the plugins all show up in the "about:plugins" section, but they
won't work for 1 centimeter (if I may say so...).
The result remains that the browser freezes when stumbling upon a java
applett.
Funny thing is, though, when I use the Mozilla version 0.7 that comes
with the RedHat 7.1 distro, it works.
But I WOULD love to use 0.9.x, 'cause apart from this java annoyance,
Moz 0.9.x is far better.
[puzzled]
Some people DO seem to have this working.
What the * am I overlooking?!
[/puzzled]
Please tell ;-)

Kuba

Eamon Skelton

unread,
Jul 7, 2001, 7:18:51 AM7/7/01
to

> But I WOULD love to use 0.9.x, 'cause apart from this java annoyance,
> Moz 0.9.x is far better.

No question, Moz 0.9.2 is faster and more stable than older versions.

> Some people DO seem to have this working.
> What the * am I overlooking?!

It is possible to get Java working in Mozilla 0.9.x so
don't give up. DO give up on the software installation
feature in Mozilla. It has been broken since Mozilla
0.8 and seems to have been disabled in 0.9.x

I unzipped jre.xpi into /usr/local/java2/ then made a
symlink from libjavaplugin_oji.so to /usr/local/java2/jre-image-i386/plugin/i386/ns600/libjavaplugin_oji.so
in the Mozilla plug-ins directory mozilla/plugins/

I installed mozilla in my home directory /home/skelton/

cd /home/skelton/mozilla/plugins/

ln -s <path to plugin> libjavaplugin_oji.so

In my case:
ln -s /usr/local/java2/jre-image-i386/plugin/i386/ns600/libjavaplugin_oji.so libjavaplugin_oji.so

Sorry about the long line. Your newsreader will probably line-wrap it.

Help : About Plug-ins shows:
Java(TM) Plug-in 1.3.0_01

I have used this plug-in with 0.9.2, 0.9.1, 0.9.0 and several older
versions.

Newzilla have a web page dedicated to this problem.
http://www.gerbilbox.com/newzilla/mozilla/usingmoz07.php


HTH. Good Luck.

E.S.

--
Remove 'X' to reply by e-mail.
Linux 2.4.6

Darren Salt

unread,
Jul 7, 2001, 4:14:57 PM7/7/01
to
I demand that Eamon Skelton may or may not have written...

[snip]


>> Some people DO seem to have this working. What the * am I overlooking?!

> It is possible to get Java working in Mozilla 0.9.x so don't give up.

I know. I've had it working with previous versions...

> DO give up on the software installation feature in Mozilla. It has been
> broken since Mozilla 0.8 and seems to have been disabled in 0.9.x

That /seems/ to be OK here (after a quick test using my private server).
However, despite my having unpacked jre.xpi and made the appropriate
symlinks, it still isn't working.

In case they're relevant:

ac_add_options --disable-mailnews
ac_add_options --enable-xinerama=no
ac_add_options --enable-optimize=-O2
ac_add_options --enable-chrome-format=jar
ac_add_options --enable-svg
ac_add_options --enable-new-cache
ac_add_options --enable-libpr0n
ac_add_options --disable-ldap

ac_add_options --enable-toolkit=gtk
ac_add_options --with-gtk
ac_add_options --with-qt=no
ac_add_options --with-xprint=no
ac_add_options --with-motif=no
ac_add_options --with-static-motif=no
ac_add_options --with-xlib=no

ac_add_options --with-java-supplement
ac_add_options --with-pthreads
ac_add_options --with-jpeg
ac_add_options --with-zlib
ac_add_options --with-png
ac_add_options --with-mng

ac_add_options --enable-crypto

--
| Darren Salt | nr. Ashington, | Acorn | d youmustbejoking,demon,co,uk
| RPC, Spec+3, A3010 | Northumberland | Club | s zap,uk,eu,org
| BBC M128, Linux PC | Toon Army | NE | @
| When replying, "news"->"ds", "cu"->"co.uk", and validate

Quick! Stop that feature!

Warren Pollans

unread,
Jul 9, 2001, 12:53:14 PM7/9/01
to
Hello Again,

Sad to Report, still no luck getting mozilla 0.9.2 to see my J2SE
v1.3.1 java plugin. This is with rh7.1 and kde

Is there a logging/debugging setting that I can use to see what is (or
is not) going on when mozilla starts. I've tried setting
NSPR_LOG_MODULE=all:5 (forgotten exact variable name) but I didn't
know what I was looking for in this very verbose output - nothing
looked like it was accepting or rejecting the plugin.

Thanks,

Warren

Warren Pollans

unread,
Jul 11, 2001, 9:33:17 AM7/11/01
to
Hello,

I've finally been able to see the java plugin in the about:plugins
window and use it.

I am rh7.1, mozilla 0.9.2, whatever version of kde comes with rh7.1,
ksh
(400 MHZ celeron, 192 MB ram)

There are two separate problems: mozilla seeing the plugin and mozilla
using the plugin.

1. Need a symlink in <moz_dir>/plugins to the plugin in jre (J2SE,
for me)
-- everybody knows that 8^)

2. Need a symlink in <moz_dir>, called libXt.so, to libXt.so.6 in X11
directory
-- WHY??? this was the missing piece, although several folks had
-- suggested it. This is what caused the plugin(s) to appear in
the
-- about:plugins window

3. Need to set (export) LD_ASSUME_KERNEL=2.2.5
-- this is what allowed mozilla to not be blown away by by a page
with
-- an applet on it. This step had also been suggested by several
folks


Are these links required because of shortcomings in mozilla or in J2SE
jre?
Or both?

Hope this helps.

Warren

Darren Salt

unread,
Jul 11, 2001, 2:37:10 PM7/11/01
to
I demand that Warren Pollans may or may not have written...

> I've finally been able to see the java plugin in the about:plugins window
> and use it.

> I am rh7.1, mozilla 0.9.2, whatever version of kde comes with rh7.1, ksh
> (400 MHZ celeron, 192 MB ram)

Debian potato/security/testing here.

> There are two separate problems: mozilla seeing the plugin and mozilla
> using the plugin.

> 1. Need a symlink in <moz_dir>/plugins to the plugin in jre (J2SE,
> for me) -- everybody knows that 8^)

Got that...

> 2. Need a symlink in <moz_dir>, called libXt.so, to libXt.so.6 in X11
> directory

I've just tried that; it doesn't help, at least not on its own. However,
'ldd libjavaplugin_oji.so' reports that libstdc++-libc6.1-1.so.2 isn't found.

One symlink later (to libstdc++-libc6.2-2.so.3) and the Java plugin now
appears in about:plugins.

[snip]


> 3. Need to set (export) LD_ASSUME_KERNEL=2.2.5
> -- this is what allowed mozilla to not be blown away by by a page

> with an applet on it. This step had also been suggested by several
> folks

Got that, but... <bang>.

AFAICS, without that line, it works; with libstdc++2.9-glibc2.1 (from Debian
potato CD 2) it works, with or without that line. For a slightly loose
definition of "works".

Now if I had source for the JRE, I'd definitely be compiling it for what's
currently in testing... I've seen mention of 1.3.1...

--
| Darren Salt | d youmustbejoking,demon,co,uk | Acorn | nr. Ashington,
| RPC, Spec+3, A3010 | s zap,uk,eu,org | Club | Northumberland
| BBC M128, Linux PC | @ | NE | Toon Army
| Retrocomputing: a PC card in a Risc PC

There is no grief which time does not lessen and soften.

0 new messages