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

try "java Main" instead.
the class name is 'Main', not 'Main.class'.

-dan
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to