Results 1 to 10 of 10
  1. #1
    Deepa is offline Member
    Join Date
    Nov 2008
    Posts
    85
    Rep Power
    0

    Default Error Message:Editor does not contain main type

    Hi,
    I'm using Eclipse 3.2...JDK 1.4...When i run my application,the error("Editor does not contain main type") will come in the alert box.How can solve this problem

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Deepa is offline Member
    Join Date
    Nov 2008
    Posts
    85
    Rep Power
    0

    Default RE:

    Ya...My class contain main method..

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Ok, can you paste the full error message here to see. I cannot give any Eclipse related answer, since I'm not an Eclipse user. So we can work on general things.

  5. #5
    Deepa is offline Member
    Join Date
    Nov 2008
    Posts
    85
    Rep Power
    0

    Default Error Message:

    Hi,
    When click Run as->Java Application the below error will come
    Editor does not contain main type

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  7. #7
    sathishnaik is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default

    U have closed the project and then reopend it... Close all the files in editor and reopen the files again.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  9. #9
    sathishnaik is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Talking

    It might be of someones' use

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. editor does not contain a main type
    By gabriel in forum Eclipse
    Replies: 6
    Last Post: 01-22-2013, 10:00 PM
  2. Replies: 0
    Last Post: 11-27-2008, 01:25 PM
  3. strange Error message
    By little_polarbear in forum New To Java
    Replies: 4
    Last Post: 08-26-2008, 12:45 AM
  4. Replies: 1
    Last Post: 08-07-2007, 08:10 AM
  5. error message on jsp
    By sandor in forum Web Frameworks
    Replies: 1
    Last Post: 04-11-2007, 03:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •