Thread: JVM error
View Single Post
  #1 (permalink)  
Old 05-29-2008, 03:31 AM
sunjavaboy sunjavaboy is offline
Member
 
Join Date: Mar 2008
Posts: 10
sunjavaboy is on a distinguished road
JVM error
Hi All,

I get a core.java file and the application shuts down. Following is a small snaphot of core.java file-

Could not create the Java virtual machine.
Could not find the main class. Program will exit.
Could not find the main class. Program will exit.
No main method found in specified class.
Main method not public.
Could not detach main thread.

But when I run a simple Hello World program, it just runs fine witout any error.

Could anyone please help me with this. Googling did not help much.

Thanks.
Reply With Quote
Sponsored Links