Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA10963; Sat, 30 Dec 95 14:15:17 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA06924; Sat, 30 Dec 95 14:15:07 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id OAA11079; Sat, 30 Dec 1995 14:05:42 -0500
Resent-Date: Sat, 30 Dec 1995 14:05:42 -0500
Message-Id: <m0tW6TU-0003llC@bedlam.rahul.net>
Date: Sat, 30 Dec 95 10:57 PST
From: Bill Hogan <bhogan@rahul.net>
To: Alligator Descartes <descarte@hermetica.com>
Cc: bhogan@rahul.net, java-linux@java.blackdown.org
Subject: Re: getting started
In-Reply-To: <199512301651.QAA15299@fruitbat.mcqueen.com>
References: <m0tW4EV-0003llC@bedlam.rahul.net>
	<199512301651.QAA15299@fruitbat.mcqueen.com>
Reply-To: bhogan@rahul.net
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Resent-Message-Id: <"OLCGy.0.ei2.crOvm"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/807
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

"AD" == Alligator Descartes <descarte@hermetica.com> writes:

  >> `javap' appears to work, but not `javac'.
  >> 
  >> Here is what I see on the screen when I try to compile the
  >> HelloWorld.java applet (the 1st two lines come from `echo' commands I
  >> inserted into .java_wrapper):
  >> 
  >> [*root*]/G/JAVA/demo/HelloWorld # javac -verbose HelloWorld.java

  AD> [ stuff deleted ]

  >> Nothing after that.

  AD> I had exactly the same problem until I upgraded my libc and ld.so to the
  AD> following versions:

  AD> libc-5.2.16
  AD> ld-so-1.7.12

  AD> and the problem went away. Works fine after that...............

    Hmm. 

    Well, according to `ldd', both `javap' and `java' (i.e. `javac')
reference

 libc.so.5 => /G/java-linux/Debian.elf-libc/lib/libc.so.5.2.18.new

and, like I said, `javap' works fine, so I don't see how libc can be
the problem.

   So do you think ld.so-1.7.0 (vs. 1.7.12) might be the problem?

   I will check it out.

   (Not clear to me how one gets the version of an extant `ld.so'.)

   Thanks.

   Bill

p.s. Btw, here is some `javap' output:

[*root*]/G/JAVA/demo/HelloWorld # javap -c HelloWorld
---------------------------------- quote --------------------------
.java_wrapper sees PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/local/java/bin
PRG=/usr/local/java/bin/javap
Compiled from HelloWorld.java
public class HelloWorld extends java.applet.Applet {
    public void init();
    public void paint(java.awt.Graphics);
    public HelloWorld();

Method void init()
   0 aload_0
   1 sipush 150
   4 bipush 25
   6 invokevirtual #7 <Method java.applet.Applet.resize(II)V>
   9 return

Method void paint(java.awt.Graphics)
   0 aload_1
   1 ldc #1 <String "barf if u cn rd ths.">
   3 bipush 50
   5 bipush 25
   7 invokevirtual #6 <Method java.awt.Graphics.drawString(Ljava/lang/String;II)V>
  10 return

Method HelloWorld()
   0 aload_0
   1 invokenonvirtual #5 <Method java.applet.Applet.<init>()V>
   4 return

}
---------------------------- unquote ----------------------------


    I think that is beautiful.


    <B

    





