Author
How to Configure Eclipse
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
When i run the java program it cause the error .(in Eclipse 3.2 )
And it says to Configure ,i'm not able to understand what it tries to say.
Filename
program will sure to exit.jpg
Download
Description
Filesize
826 Kbytes
Downloaded:
3 time(s)
Rob Spoor
Saloon Keeper
Joined: Oct 27, 2005
Posts: 17259
I see a NoClassDefFoundError in the console at the bottom. It seems to be unable to find your class. Is it perhaps in the default package (no package statement at the top)?
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
Rob Prime wrote: Is it perhaps in the default package (no package statement at the top)?
No,i have given the package .
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
This is quite problem over here,when ever i try to execute , it say the above error, unable to execute.
This message was edited 1 time. Last update was at Aug 30, 2010 16:25:41 by Arun raghvan
Rene Larsen
Ranch Hand
Joined: Oct 12, 2001
Posts: 1177
How do you start the run task ??
Try to right click inside the editor view where the main method is, and then select "Run As->Java Application" in the pop-up.
Regards, Rene Larsen
Dropbox Invite
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
Rene Larsen wrote: How do you start the run task ??
Try to right click inside the editor view where the main method is, and then select "Run As->Java Application" in the pop-up.
I did that too,and end up again in the ERROR!
Rene Larsen
Ranch Hand
Joined: Oct 12, 2001
Posts: 1177
Arun raghvan wrote:
Rene Larsen wrote: How do you start the run task ??
Try to right click inside the editor view where the main method is, and then select "Run As->Java Application" in the pop-up.
I did that too,and end up again in the ERROR!
And your Eclipse do compile your code automatically ??
Is "Project->Build Automatically" selected ??
subject: How to Configure Eclipse