Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA04942; Sun, 3 Dec 95 21:06:03 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA12198; Sun, 3 Dec 95 21:05:00 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id VAA08582; Sun, 3 Dec 1995 21:03:44 -0500
Resent-Date: Sun, 3 Dec 1995 21:03:44 -0500
From: dkuhlman@netcom.com (G. David Kuhlman)
Message-Id: <199512040200.SAA07612@netcom15.netcom.com>
Subject: javac does nothing
To: java-linux@java.blackdown.org
Date: Sun, 3 Dec 1995 18:00:41 -0800 (PST)
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length:       3875
Resent-Message-Id: <"RJ8cD1.0.g52.eRbmm"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/615
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

Thanks for all the messages and help.  The messages, especially
from Randy, have gotten me past some of the problems.

I've gotten past the segmentation violation.

Now my problem is that javac does not do anything.  I type:

    javac HelloWorldApp.java

and it grinds a couple of seconds (loading I suppose) and exits.  I
expect it to produce HelloWorldApp.class.  It doesn't create
anything.  I put an error in the HelloWorldApp.java file.  But
javac just runs and exits with no message.  Should javac give a
usage message when run with no arguments or with -h?  I don't get
any.

Suggestions?

I down-loaded and am using linux.jdk.pre1.static-motif.tar.gz.

Following Randy's instructions, I upgraded ld.so to 1.7.10.


Following Dave Hopwood's message, I've checked and fixed the
following things:

- link bin/i486 to bin/i586, and lib/i486 to lib/i586
- permissions on /dev/zero and /dev/null are ok
- using 8 bpp display
- use /bin/sh, remove 'whence' and fix paths in .java_wrapper

I set the environment variables:

    export LD_LIBRARY_PATH=/k2/Java/java/lib/i586
    export CLASSPATH=/k2/Java/java/classes:.

My system's configuration is:
	Redhat 2.0
    linux 1.2.13 ELF
    libc.so.5.0.9
    libdl.so.1.7.10
    gcc 2.7.0

I'm not too sure about the library stuff, so here is the contents
of my /lib directory:

cpp@		      libc.so.5.0.9*	    libext2fs.so.1.0*
ld-linux.so.1*	      libcom_err.so.1.0*    libm.so.5@
ld-linux.so.1.7.10*   libcurses.so.1@	    libm.so.5.0.0*
ld-linux.so.1.7.5*    libcurses.so.1.0.0*   libss.so.1.0*
ld.so*		      libdl.so.1@	    libtermcap.so.2@
ld.so.1.7.10*	      libdl.so.1.7.10*	    libtermcap.so.2.0.0*
ld.so.1.7.5*	      libdl.so.1.7.5*	    modules/
libc.so.5@	      libe2p.so.1.0*


And here is what I get when I run ldconfig -v as root:

/sbin/ldconfig: version 1.7.10
/usr/X11R6/lib:
	libXpm.so.4 => libXpm.so.4.6
	libXaw3d.so.6 => libXaw3d.so.6.0
	libXtst.so.6 => libXtst.so.6.0
	libXt.so.6 => libXt.so.6.0
	libXmu.so.6 => libXmu.so.6.0
	libXi.so.6 => libXi.so.6.0
	libXext.so.6 => libXext.so.6.0
	libXaw.so.6 => libXaw.so.6.0
	libXIE.so.6 => libXIE.so.6.0
	libX11.so.6 => libX11.so.6.0
	libSM.so.6 => libSM.so.6.0
	libPEX5.so.6 => libPEX5.so.6.0
	libICE.so.6 => libICE.so.6.0
/usr/i486-linuxaout/lib:
	libvga.so.1 => libvga.so.1.1.8
	libtk.so.3 => libtk.so.3.1.1
	libtcl.so.3 => libtcl.so.3.1
	libm.so.4 => libm.so.4.6.27
	libdb.so.1 => libdb.so.1.85.1
	libcurses.so.0 => libcurses.so.0.1.2
	libc.so.4 => libc.so.4.7.2
	libXt.so.6 => libXt.so.6.0
	libXpm.so.4 => libXpm.so.4.2
	libXaw.so.6 => libXaw.so.6.0
	libXIE.so.6 => libXIE.so.6.0
	libX11.so.6 => libX11.so.6.0
/usr/lib:
	libgmalloc.so.0 => libgmalloc.so.0
	libtk4.0.so.1 => libtk4.0.so.1
	libtcl7.4.so.1 => libtcl7.4.so.1
	libslang.so.0 => libslang.so.0.99.19
	libreadline.so.2 => libreadline.so.2.0
	libncurses.so.1 => libncurses.so.1.9.2c
	libtiff.so.3 => libtiff.so.3.4.18
	librle.so.1 => librle.so.1.0.0
	libppm.so.1 => libppm.so.1.0.0
	libpnm.so.1 => libpnm.so.1.0.0
	libpng.so.1 => libpng.so.1.0.71
	libpgm.so.1 => libpgm.so.1.0.0
	libpbm.so.1 => libpbm.so.1.0.0
	libjpeg.so.5 => libjpeg.so.5.0.1
	libgz.so.1 => libgz.so.1.0.93
	libfbm.so.1 => libfbm.so.1.0.0
	libdb.so.2 => libdb.so.2.0.0
	libbfd.so.2.5.2l.11 => libbfd.so.2.5.2l.11
	libgdbm.so.2 => libgdbm.so.2.0.0
/lib:
	libm.so.5 => libm.so.5.0.0
	libcurses.so.1 => libcurses.so.1.0.0
	libdl.so.1 => libdl.so.1.7.10
	libss.so.1.0 => libss.so.1.0
	libext2fs.so.1.0 => libext2fs.so.1.0
	libe2p.so.1.0 => libe2p.so.1.0
	libcom_err.so.1.0 => libcom_err.so.1.0
	libtermcap.so.2 => libtermcap.so.2.0.0
	libc.so.5 => libc.so.5.0.9

Thanks in advance for help.  BTW, if someone would copy the
messages that answer some of these questions to a file at the
substance.blackdown.com ftp site, it would probably save Randy from
having to answer the same questions repeatedly.

Dave Kuhlman
dkuhlman@netcom.com


 

