Click to See Complete Forum and Search --> : install jdk 1.3


jask
09-08-2001, 11:50 AM
When I tried installing sun's jdk1.3.1 on Red Hat 7.1 I got a segmentation fault. What causes this and what should I do to install it?

Pras
09-08-2001, 03:01 PM
The following excerpt is from this page: http://java.sun.com/j2se/1.3/install-linux-sdk.html


* The newer glibc-2.2.x libraries cannot correctly handle initial thread stack sizes larger than 6 MB. This can cause a segmentation fault on come Linux platforms that use the newer libraries. Such platforms include Red Hat 7.0, SuSe 7.2, and Debian 2.2. The problem will not occur on Linux platforms that are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It will also not affect Red Hat 7.1 because it uses a different thread stack layout. This problem is being tracked as bug 4466587.

Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048" in tcsh to limit the initial thread stack to 2 MB.

jask
09-08-2001, 09:02 PM
thanks

I tried "ulimit -s 2048" and still got the segmentation fault during the install.

Niminator
09-09-2001, 06:21 AM
How are you installing it? The reason I ask is that I used the built-in script, and had absolutely no problems installing it.

jask
09-09-2001, 10:37 PM
I used the jdk...rpm.bin script for red hat.

I thougt about downloading the other file to try - but I shouldn't need to.

jask
09-11-2001, 11:37 AM
I reinstalled linux and it works now.