Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: launch error

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Thanked 0 Times in 0 Posts

    Default launch error

    what does this launch error mean?editor does not contain a main type mean when i run the program?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,273 Times in 2,244 Posts

    Default Re: launch error

    Please copy the full text of the error message and paste it here. It has important info about the error.

    I don't know what "editor does not contain a main type" means.
    Can you explain how you are trying to execute the program. Are you using an IDE?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Oct 2013
    Thanked 0 Times in 0 Posts

    Default Re: launch error

    It means there is no main class to run the program, you need to set a main class before running it.

Similar Threads

  1. Launch Error Editor does not contain main type
    By aj_boulay in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 20th, 2012, 11:31 PM
  2. [SOLVED] How to write Eclipse launch file?
    By beruska in forum Java IDEs
    Replies: 3
    Last Post: October 18th, 2011, 09:41 AM
  3. method to launch a jar file
    By frozen java in forum Java Theory & Questions
    Replies: 2
    Last Post: July 17th, 2011, 02:17 PM
  4. Unable to launch app of java application
    By sharmaneelam in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 19th, 2010, 08:42 AM