[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: JDK 1.1.7:Can't find class



On Sat, Jun 26, 1999 at 06:42:48PM +0200, Gernot Bauer wrote:
> Hi, 
> 
> just wrote a java-app that creates a class called Euro1.class. It
> compiles and the Euro1.class-file is created. When I try to start it
> with "java Euro1.class" I always get "Can't find class Euro1.class" but
> Im in the directory where Euro1.class is. The jdk-doc tells me not to
> set CLASSPATH... 

	To start with, java classes are run as classname, not
classname.class.

	Try `java Euro1`.

-Seth
--
"It is by will alone I set my mind in motion"


Reply to: