java.lang.ClassNotFoundException

Hi,

I have made a very simple program ...It goes like this

package ch03;

public class mytest {

public static void main(String[] args) {

System.out.println("is the class file getting generated");

}

}

when i compile this "javac mytest.java " it gets compiled properly. But when i try to run it..." java mytest " it says class not found. I have also tried running it as "java ch03.mytest ". Could u pls help me abt this.

[472 byte] By [sarubaby] at [2007-9-30 21:34:05]
# 1
% javac ch03/mytest.java% java ch03.mytest http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html-Alexis
am74686 at 2007-7-7 3:05:22 > top of Java-index,Administration Tools,Sun Connection...