Bookmark Topic Watch Topic
  • New Topic

Why i am getting Editor does not contain a main type?

 
pathipaka shayampet
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why i am getting Editor does not contain a main type..when i am running in eclipse IDE?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15354
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
What kind of file are you trying to edit with Eclipse, and what's the filename?

Try searching on Google for: eclipse "Editor does not contain a main type"

and you might find some useful answers.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Report post to moderator
Have you created a class called Editor and tried to use it to start an application when it doesn't contain a main() method?
 
Ashlon Hill
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
Campbell Ritchie wrote:Have you created a class called Editor and tried to use it to start an application when it doesn't contain a main() method?



I just downloaded the source code examples for a Java Certification book and am getting the same error message when I try and run a java class inside eclipse. Yes I do have a main method inside the class. What now?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
David, please to not wake the zombies. Please start a new topic and ask your question there. And consider this before posting: http://faq.javaranch.com/java/ItDoesntWorkIsUseless

 
    Bookmark Topic Watch Topic
  • New Topic