Date: Fri, 05 Mar 2004 10:51:36 +0100 From: Ronald Klop <ronald-freebsd6@klop.yi.org> To: Peter Schuller <peter.schuller@infidyne.com> Cc: java@freebsd.org Subject: Re: Native Java plugin on FreeBSD Message-ID: <opr4du0afnegu5x0@outgoing.local> In-Reply-To: <200403050500.33751.peter.schuller@infidyne.com> References: <200403050500.33751.peter.schuller@infidyne.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Fri, 5 Mar 2004 05:00:33 +0100, Peter Schuller
<peter.schuller@infidyne.com> wrote:
> Hello,
>
> despite having much experience with Java as a language and platform I've
> never
> been able to wrap my head around how the Java Plugin is supposed to work
> (other than that it "just did" in some rare combination of circumstances
> on a
> Debian box once). The hints I did find (based on Linux instructions)
> says to
> symlink libjavaplugin_oji.so to ~/.mozilla/plugins or the global plugins
> directory at /usr/X11R6/lib/mozilla/plugins/
>
> The first option had no effect.
>
> The second option works to the point that the JVM is either started or
> almost
> started, based on the disk/cpu activity when trying to run the first
> applet
> in a session. However all applets fail ("not inited") for reasons I have
> not
> been able to determine.
>
> So:
>
> * What could I do in order to see what's going on? (I.e. where can I find
> potential error output?)
> * Am I doing the 'installation' correctly - i.e., just symlinking the
> appropriate library?
>
> This is using the native JDK 1.4.2-p5 and Mozilla 1.6 (native).
>
> Thanks,
Do you have URL's to the applets? So we can test/reproduce.
I'm using Firefox and applets just worked after installing it.
Did you enable Java in the settings?
Can you open the 'Java Console'? (Tools -> Web Development -> Java Console)
Set the debug level to 5 (or something else) and see what happens when you
load the applet.
Does this applet work? http://java.sun.com/openstudio/applets/clock.html
BTW (and off-topic): My Mozilla crashes when I open the Java Console after
the Applet is loaded, but everything is fine when I load the applet
second. Error attached.
Greetings,
Ronald.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
[-- Attachment #2 --]
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x348315F7
Function=processTree+0x29B
Library=/usr/local/jdk1.4.2/jre/lib/i386/libawt.so
Current Java thread:
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:534)
Dynamic libraries:
0x8048000 java_vm
0x28076000 /usr/lib/libpthread.so.1
0x2809b000 /lib/libc.so.5
0x28181000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x285c7000 /usr/lib/libstdc++.so.4
0x28683000 /lib/libm.so.2
0x2869c000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x286aa000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x286c0000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x286df000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x34761000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so
0x349dd000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so
0x34a28000 /usr/X11R6/lib/libXp.so.6
0x34a30000 /usr/X11R6/lib/libXt.so.6
0x34a81000 /usr/X11R6/lib/libXext.so.6
0x34a90000 /usr/X11R6/lib/libXtst.so.6
0x34a96000 /usr/X11R6/lib/libXmu.so.6
0x34aac000 /usr/X11R6/lib/libX11.so.6
0x34b74000 /usr/X11R6/lib/libSM.so.6
0x34b7d000 /usr/X11R6/lib/libICE.so.6
0x34b94000 /usr/local/jdk1.4.2/jre/lib/i386/libjavaplugin_jni.so
0x34bbb000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so
0x34c90000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0x34c93000 /usr/X11R6/lib/libXcursor.so.1
0x34c9c000 /usr/X11R6/lib/libXrender.so.1
0x34ca4000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
0x34cc2000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so
0x34cd5000 /usr/local/jdk1.4.2/jre/lib/i386/libdcpr.so
0x2804b000 /libexec/ld-elf.so.1
Heap at VM Abort:
Heap
def new generation total 576K, used 470K [0x2c650000, 0x2c6f0000, 0x2cb30000)
eden space 512K, 88% used [0x2c650000, 0x2c6c1b28, 0x2c6d0000)
from space 64K, 24% used [0x2c6d0000, 0x2c6d3e88, 0x2c6e0000)
to space 64K, 0% used [0x2c6e0000, 0x2c6e0000, 0x2c6f0000)
tenured generation total 1408K, used 761K [0x2cb30000, 0x2cc90000, 0x30650000)
the space 1408K, 54% used [0x2cb30000, 0x2cbee4d8, 0x2cbee600, 0x2cc90000)
compacting perm gen total 6144K, used 5962K [0x30650000, 0x30c50000, 0x34650000)
the space 6144K, 97% used [0x30650000, 0x30c228a8, 0x30c22a00, 0x30c50000)
Local Time = Fri Mar 5 10:45:11 2004
Elapsed Time = 14
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_05_feb_2004_21_59 mixed mode)
#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr4du0afnegu5x0>
