dkamdar
asked on
Cannot Run a Java application on Eclipse
Hi,
If any of you have used eclipse, please let me know what this error means.
I am running an open source code - dtdparser
I tried to run it in eclipse and it compiles fine but at runtime gives the following error in a dialog box:
The active editor doe snot contain a Main type
When I checked the file ClassGenerator.java
It has the main method.
Any thoughts?
Oh and By the way after I build it, its not showing me the class file.
Does it store it in a separate bin directory or something?
Please lemme know
If any of you have used eclipse, please let me know what this error means.
I am running an open source code - dtdparser
I tried to run it in eclipse and it compiles fine but at runtime gives the following error in a dialog box:
The active editor doe snot contain a Main type
When I checked the file ClassGenerator.java
It has the main method.
Any thoughts?
Oh and By the way after I build it, its not showing me the class file.
Does it store it in a separate bin directory or something?
Please lemme know
http://www.eclipseplugincentral.com/modules.php?op=modload&name=PNphpBB2&file=viewtopic&t=844
> Oh and By the way after I build it, its not showing me the class file.
> Does it store it in a separate bin directory or something?
It depends how you configure your project. You can set the "bin" directory, it's the common practice.
But by default the compiled files (.class) are created in the same directories where source files (.java) are located.
> Does it store it in a separate bin directory or something?
It depends how you configure your project. You can set the "bin" directory, it's the common practice.
But by default the compiled files (.class) are created in the same directories where source files (.java) are located.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.