Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* this is driving me nuts
@ 1999-10-22 23:23 Eric Jones
  1999-10-23  1:57 ` Dan Morrill
  1999-10-23  3:14 ` John Helly
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Jones @ 1999-10-22 23:23 UTC (permalink / raw)
  To: axp-list

I have a java program. I type javac program.java to generate a class file.
I type java program.class and I get

Can't find program.class

I get this with kaffe AND jdk 1.1.8 from alphalinux. I've set the
CLASSPATH to .:/usr/local/jdk118/lib/classes.gz and I still get this
error. It's driving me nuts. I'm running redhat 6.0 with gcc-2.95. I've
even gone as far as to nuke my current gcc and downgrade to the stock gcc
that comes with redhat. This is kernel 2.2.12pre14. 

Help. Please.

Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: this is driving me nuts
  1999-10-22 23:23 this is driving me nuts Eric Jones
@ 1999-10-23  1:57 ` Dan Morrill
  1999-10-23  3:14 ` John Helly
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Morrill @ 1999-10-23  1:57 UTC (permalink / raw)
  To: axp-list

On Fri, 22 Oct 1999, Eric Jones wrote:

> I have a java program. I type javac program.java to generate a class file.
> I type java program.class and I get
> 
> Can't find program.class

Try `java program`, not `java program.class`.

The ".class" file is the representation of the program;  when you run it,
you're running the program, so you `java program` rather than
`java program.class`.  Don't ask me, I only use it. :)

This is a Java thing; it's not an Alpha-related issue at all.

Dan Morrill
Computer Scientist, Physicist


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: this is driving me nuts
  1999-10-22 23:23 this is driving me nuts Eric Jones
  1999-10-23  1:57 ` Dan Morrill
@ 1999-10-23  3:14 ` John Helly
  1 sibling, 0 replies; 3+ messages in thread
From: John Helly @ 1999-10-23  3:14 UTC (permalink / raw)
  To: axp-list

try typing the full path name of the program. this should eliminate the path
as a problem.

---------------------------------------------------------------------------
John Helly, University of California, San Diego, NPACI/SDSC, MC 0505
9500 Gilman Drive, La Jolla, CA 92093-0505
Phone: Voice +01 619 534 5060 / FAX +01 619 534 5113
Deliveries: 10100 Hopkins Drive, La Jolla, CA 92093

> -----Original Message-----
> From: Eric Jones [mailto:xeno@clark.net]
> Sent: Friday, October 22, 1999 4:23 PM
> To: axp-list@redhat.com
> Subject: this is driving me nuts
>
>
> I have a java program. I type javac program.java to generate a class file.
> I type java program.class and I get
>
> Can't find program.class
>
> I get this with kaffe AND jdk 1.1.8 from alphalinux. I've set the
> CLASSPATH to .:/usr/local/jdk118/lib/classes.gz and I still get this
> error. It's driving me nuts. I'm running redhat 6.0 with gcc-2.95. I've
> even gone as far as to nuke my current gcc and downgrade to the stock gcc
> that comes with redhat. This is kernel 2.2.12pre14.
>
> Help. Please.
>
> Eric
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-10-23  3:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-22 23:23 this is driving me nuts Eric Jones
1999-10-23  1:57 ` Dan Morrill
1999-10-23  3:14 ` John Helly

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