Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA18667; Thu, 7 Dec 95 22:36:31 EST
Received: from [206.112.192.127] by MIT.EDU with SMTP
	id AA28319; Thu, 7 Dec 95 22:35:20 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id WAA27969; Thu, 7 Dec 1995 22:23:48 -0500
Resent-Date: Thu, 7 Dec 1995 22:23:48 -0500
From: John Franks <john@math.nwu.edu>
Message-Id: <199512072012.OAA00948@hopf.math.nwu.edu>
Subject: Re: Help for newcomer (solution)
To: java-linux@java.blackdown.org
Date: Thu, 7 Dec 1995 14:12:41 -0600 (CST)
In-Reply-To: <199512070334.VAA25292@hopf.math.nwu.edu> from "John Franks" at Dec 6, 95 09:34:46 pm
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length:       1505
Resent-Message-Id: <"hxe-j3.0.Xq6.C-wnm"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/665
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

According to John Franks:
> 
> I downloaded the static pre2 from blackdown today and have been
> trying without success to compile the HelloWorldApp.java from
> the Sun docs.
> 
> I have a 1.2.13 ELF system.
> 
> On the first try I got the "can't resolve _libc_malloc"  message
> so I started browsing the archive of this list.  (Too bad that
> mini-HOWTO isn't there yet).  I gathered from some messages that
> I really needed libc.so.5.2.16, so I got that and installed it.
> Then when I tried "javac HelloWorldApp.java"
> 
> SIGSEGV   11*  segmentation violation
> 
> Full thread dump:
> 
> and hanging with nothing in the thread dump.
> 


OK, I have made it past these problems.  In case others are trying to do
the same thing and browse this archive as I did, here is what worked
for me.  I started with a Slackware distribution ELF kernel 1.2.13.

Get linux-x86.jdk.pre2.static-motif.tar.gz  from 
ftp://www.blackdown.org/pub/Java/linux/
and uncompress it and untar it.

Get libc.5.2.16.bin.tar.gz  from
ftp://tsx-11.mit.edu/pub/lnux/packages/GCC/
Uncompress and untar and copy the files in the lib subdirectory
of the top level of the hierarchy to /lib.

Get ld-so.1.7.11.tar.gz from ftp://ftp.ods.com/linux/
Uncompress and untar it and run "instldso.sh" which is
in the top level of the resulting hierarchy.

You should now be able to compile and try the "hello world" program
and applet from Sun following the instructions at

http://java.sun.com/progGuide/index.html

Good Luck!

John Franks



