Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Editor does contain a main type
Editor does contain a main type [message #912742] Fri, 14 September 2012 05:00 Go to next message
Nicholas Shoemake is currently offline Nicholas ShoemakeFriend
Messages: 1
Registered: September 2012
Junior Member
Greetings everyone, I'm new to java and eclipse, I'm running Debian Sid, and every time
I try to run any of my programs, I get the message "Editor does not contain a main type" or "Selection does not contain a main type", when I do in fact have a main method recognizable in my code, what do I do about this?
Re: Editor does contain a main type [message #912749 is a reply to message #912742] Fri, 14 September 2012 05:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31871
Registered: July 2009
Senior Member
Nicholas,

How do you run it? What does your main look like?

On 14/09/2012 7:00 AM, Nicholas Shoemake wrote:
> Greetings everyone, I'm new to java and eclipse, I'm running Debian
> Sid, and every time
> I try to run any of my programs, I get the message "Editor does not
> contain a main type" or "Selection does not contain a main type", when
> I do in fact have a main method recognizable in my code, what do I do
> about this?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to uninstall eclipse juno from Windows 7
Next Topic:JD-Eclipse Plugin
Goto Forum:
  


Current Time: Tue May 18 15:13:15 GMT 2021

Powered by FUDForum. Page generated in 0.03028 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top