Results 1 to 2 of 2

Thread: Exception in thred Main Error

  1. #1
    Junior Member
    Join Date
    Mar 2006
    Answers
    5

    Thumbs down Exception in thred Main Error

    Hy all i have two editor of java installed on my computer 1. Eclips 2. Default(notepad) while i run a program with eclips then no problem but while i run that program with dos prompt then the error comes i attach the picture the program is very simple and asp class have main method also


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Exception in thred Main Error

    Hi Ankit,
    It would have been better had you given the stack trace.
    But the problem you are facing usually occurs because of the following:-
    You may not have your classpath configured correctly. Eclipse configures the classpath by itself and hence you do not have this problem there. For DOS you will have to set the classpath in the system properties.

    Regards,
    Sahil.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact