See following code with resides in fillowing directory
mypack.pack1
package mypack.pack1;
public class myclass
{
public static void main(String args[])
{
System.out.println("KKKKKKKKKKKKKKKKKKKKKKKKKKKKKK");
}
}
See following screen shot. that is giving error.
And i dont want to add anything in class path because i am in particular directory and it has to work.
why it is not working.??????

It is not working because you are already under that directory (mypack\pack1).
Run it as it is from