Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: Trouble running JDK-1.1.6
Date: Sat, 23 Jan 1999 11:13:32 -0500	[thread overview]
Message-ID: <19990123111332.B8636@xcski.com> (raw)
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


  reply	other threads:[~1999-01-23 16:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-23 15:26 Trouble running JDK-1.1.6 Peter Petrakis
1999-01-23 15:32 ` Paul Tomblin
1999-01-23 15:42 ` Rich Payne
1999-01-23 15:51   ` Peter Petrakis
1999-01-23 16:06     ` Peter Petrakis
1999-01-23 16:30       ` Rich Payne
1999-01-23 16:34         ` Peter Petrakis
1999-01-23 16:20     ` Rich Payne
1999-01-23 16:13       ` Paul Tomblin [this message]
1999-01-23 16:41       ` Peter Petrakis
  -- strict thread matches above, loose matches on Subject: below --
1999-01-23 16:11 Bob Segrest
1999-01-23 16:13 Bob Segrest
1999-01-23 16:18 ` Paul Tomblin
1999-01-23 20:09 Designer 7
1999-01-23 20:11 Designer 7
1999-01-23 20:31 ` Peter Petrakis
1999-01-23 21:24 Designer 7
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox