From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7607 invoked from network); 23 Jan 1999 16:40:32 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Jan 1999 16:40:32 -0000 Received: from xcski.com (d185d1c51.rochester.rr.com [24.93.28.81]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA16927 for ; Sat, 23 Jan 1999 11:13:35 -0500 Received: (from ptomblin@localhost) by xcski.com (8.8.7/8.8.7) id LAA08663; Sat, 23 Jan 1999 11:13:32 -0500 Message-ID: <19990123111332.B8636@xcski.com> Date: Sat, 23 Jan 1999 11:13:32 -0500 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: Trouble running JDK-1.1.6 References: <36A9EA10.8ED242A@wn.net> <36A9EE00.41579A84@cheshire.net> <36A9F00D.DE69C80@wn.net> <36A9F6B0.65A6D4FD@cheshire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <36A9F6B0.65A6D4FD@cheshire.net>; from Rich Payne on Sat, Jan 23, 1999 at 11:20:00AM -0500 Quoting Rich Payne (rdp@cheshire.net): > > [root@alphagen bjava]# java Welcome.java > > Unable to initialize threads: cannot find class java/lang/Thread > > What if you try: > > java -classpath /usr/local/jdk-1.1.6/lib/classes.zip:. Welcome.java > You don't run the .java file, you run the class file. And you do that by specifying the class name, not the file name. So to start a java program called Welcome, which was compiled from Welcome.java into Welcome.class, you say "java Welcome". -- Paul Tomblin, not speaking for anybody. "But I heard him exclaim, as he climbed in the night Merry Christmas to all, I have traffic in sight" - Phyllis Moses