I'd hazard a guess that your CLASSPATH does not have '.' in it so the JVM
can't locate your Main.class file
At 03:15 PM 10/9/98 -0400, Ian Wehrman wrote:
>good day all,
>
>i'm sure this is a frequently asked question, but after looking around,
>i haven't yet found anything. i have the JDK 1.1.6v4a for i386-glibc
>linux, and compiling .java files with javac works fine, however whenever
>i try to execute a class file with the 'java' command, i get:
>
>[iwehrman@r77h19 awt]$ java Main.class
>Can't find class Main.class
>
>this happens with just about everything i touch, and there aren't any
>compilation problems. as you can probably tell, i'm very new with java,
>and if there is documentation regarding this problem, i'd be grateful to
>be pointed toward it.
>
>thanks in advance,
>ian
>
>--
>[EMAIL PROTECTED]
>georgia institute of technology
>
>
Tom Jenkins
for PGP key send mail with GET PGP KEY in subject