-
Junior Member
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
-
Contributing Member
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
-
Forum Rules