Mailing List Archive

java jdk signal 11
I am having trouble installing any of the binary jdks.

For example I select the sun-jdk-1.4.2.05:
# java-config --set-system-vm=sun-jdk-1.4.2.05
# /usr/sbin/env-update && source /etc/profile
# java-config -L
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1)
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
[blackdown-jdk-1.4.2_rc1] "Blackdown JDK 1.4.2_rc1" (/etc/env.d/java/20blackdown-jdk-1.4.2_rc1)
[sun-jdk-1.4.2.05] "Sun JDK 1.4.2.05" (/etc/env.d/java/20sun-jdk-1.4.2.05) *

# javac myfirstjavaprog.java

Unexpected Signal : 11 occurred at PC=0x45F00F38
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:

Dynamic libraries:
00000000-00000000 r-xp 00000000 03:05 14021 /opt/sun-jdk-1.4.2.05/bin/javac
00000000-00000000 rw-p 0000e000 03:05 14021 /opt/sun-jdk-1.4.2.05/bin/javac
00000000-00000000 r-xp 00000000 03:05 5141 /lib/ld-2.3.3.so
00000000-00000000 rw-p 00012000 03:05 5141 /lib/ld-2.3.3.so
00000000-00000000 r-xp 00000000 03:05 14494 /opt/sun-jdk-1.4.2.05/jre/lib/i386/native_threads/libhpi.so
<...>

if I
# java-config --set-system-vm=blackdown-jdk-1.4.2_rc1

then I can compile tiny little test programs, but if I try to compile the
sun-j2sdk so that I can get a libjavaplugin_oji.so compatible with mozilla
or firefox, then after an hour of c++ compilations I get the same signal
11 from the jvm when java tries to bootstrap.

If I can't figure out how to compile java properly. Are there directions
on compiling mozilla with the gcc 3.2, or one that is compatible with the
binary versions of the plugins?

Java has been by far the biggest nightmare I have had in my usage of
gentoo... :(

--
Marco


--
gentoo-user@gentoo.org mailing list
Re: java jdk signal 11 [ In reply to ]
I run java all the time without any problems. However, I haven't tried
what you are doing below. I'd just let the Gentoo run with blackdown.
If you want the Sun JDK (and it looks like you're past the first hurdle
of installing), then just setup your environment in your user space with
JAVA_HOME and PATH.

I just use the blackdown so in mozilla & firefox. I think you just need
to either link or copy (can't remember which) the plugin into the
mozilla/firefox plugin directory. I've had numerous issues with these
in the past, but Gentoo emerged everything ready to run. I'm was
impressed.

--Kurt





Marco Scoffier wrote:

>I am having trouble installing any of the binary jdks.
>
>For example I select the sun-jdk-1.4.2.05:
># java-config --set-system-vm=sun-jdk-1.4.2.05
># /usr/sbin/env-update && source /etc/profile
># java-config -L
>[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1)
>[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
>[blackdown-jdk-1.4.2_rc1] "Blackdown JDK 1.4.2_rc1" (/etc/env.d/java/20blackdown-jdk-1.4.2_rc1)
>[sun-jdk-1.4.2.05] "Sun JDK 1.4.2.05" (/etc/env.d/java/20sun-jdk-1.4.2.05) *
>
># javac myfirstjavaprog.java
>
>Unexpected Signal : 11 occurred at PC=0x45F00F38
>Function=[Unknown.]
>Library=(N/A)
>
>NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for possible
> reason and solutions.
>
>
>Current Java thread:
>
>Dynamic libraries:
>00000000-00000000 r-xp 00000000 03:05 14021 /opt/sun-jdk-1.4.2.05/bin/javac
>00000000-00000000 rw-p 0000e000 03:05 14021 /opt/sun-jdk-1.4.2.05/bin/javac
>00000000-00000000 r-xp 00000000 03:05 5141 /lib/ld-2.3.3.so
>00000000-00000000 rw-p 00012000 03:05 5141 /lib/ld-2.3.3.so
>00000000-00000000 r-xp 00000000 03:05 14494 /opt/sun-jdk-1.4.2.05/jre/lib/i386/native_threads/libhpi.so
><...>
>
>if I
># java-config --set-system-vm=blackdown-jdk-1.4.2_rc1
>
>then I can compile tiny little test programs, but if I try to compile the
>sun-j2sdk so that I can get a libjavaplugin_oji.so compatible with mozilla
>or firefox, then after an hour of c++ compilations I get the same signal
>11 from the jvm when java tries to bootstrap.
>
>If I can't figure out how to compile java properly. Are there directions
>on compiling mozilla with the gcc 3.2, or one that is compatible with the
>binary versions of the plugins?
>
>Java has been by far the biggest nightmare I have had in my usage of
>gentoo... :(
>
>
>


--
gentoo-user@gentoo.org mailing list
Re: java jdk signal 11 [ In reply to ]
On Sun, 19 Sep 2004 13:10:39 -0400, Kurt Guenther wrote:

>
> I run java all the time without any problems. However, I haven't tried
> what you are doing below. I'd just let the Gentoo run with blackdown. If
> you want the Sun JDK (and it looks like you're past the first hurdle of
> installing), then just setup your environment in your user space with
> JAVA_HOME and PATH.
>
> I just use the blackdown so in mozilla & firefox. I think you just need
> to either link or copy (can't remember which) the plugin into the
> mozilla/firefox plugin directory. I've had numerous issues with these in
> the past, but Gentoo emerged everything ready to run. I'm was impressed.
>
Hi Kurt
Thanks for the response. It seems like you were one of the lucky ones.
None of the mozilla's (firefox and normal) show either the blackdown
plugin or the sun one, I guess because the gcc version is wrong, I have
gcc 3.4 and they are compiled with 3.2. I don't know how to compile
mozilla with the older gcc, seems I have to get an older libc and some
other things (unless someone can get me specific instructions I'd make a
mess ...) The signal 11 with both jdks started freaking me out, I have no
idea what that is about. I haven't programmed java in a couple of years.

--
Marco


--
gentoo-user@gentoo.org mailing list
Re: java jdk signal 11 [ In reply to ]
On Mon, 20 Sep 2004 01:53:37 -0500, Marco Scoffier wrote:

> None of the mozilla's (firefox and normal) show either the blackdown
> plugin or the sun one, I guess because the gcc version is wrong, I have
> gcc 3.4 and they are compiled with 3.2.

I'm sorry this is inaccurate. Both plugins show up properly in
about:plugins but crash the browser on any applet.

INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

I get exactly the same error with both the blackdown jdk and the sun one,
which is why I was trying to compile the sun-j2sdk, but the compile craps
out with a signal 11 that I showed in the other email...

--
Marco


--
gentoo-user@gentoo.org mailing list