1 Reply Latest reply: May 30, 2008 3:16 AM by 752426 RSS

    Exception in thread "main" ...error

    807601
      import java.awt.event.*;
      import java.lang.*;



      public class test
      {


      public static void main(String args[])
      {
      char temp='a';
      String p;
      String s= String.valueOf(temp);
      System.out.println(s);
      }
      }

      IT Compiles fine but throws and error when i do....java test.java ...The file is in the Bin presently ...
      the error thrown is

      Exception in thread "main" java.lang.NoClassDefFoundError: test/java

      Plz help me out
      thnx in advance....