(Main) Exception
1 posts in topic
Flat View  Flat View

Posted By:   Akber_Amirali
Posted On:   Tuesday, August 21, 2001 01:02 AM

My "java compiler" complies well and makes class file accordingly, but when I run class file I got here that class is not found and then throw 'Main' Exception ?

Re: (Main) Exception

Posted By:   Dermot_Hennessy  
Posted On:   Tuesday, August 21, 2001 02:53 AM

Sounds like this is a bit confused. Can you display the actual stack trace from your attempted execution? It sounds like the problem is that the JVM cannot find a main() method in your class, but I would have to see the actual output from the attempted execution to be sure. Additionally you may wish to consult FAQ entries on classpath to ensure that this is set correctly.

About | Sitemap | Contact