Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

eclipse "selection does not contain main type" - but it does contain a main

800790Jul 28 2008 — edited Jul 28 2008
Hi!

I'm having a strange thing happen to me when using the eclipse IDE in a macintosh envirnment.

I imported a project, complete with package, and all of my classes. and when I try to run my main class, it tells me "selection does not contain main type".

Which is entirely untrue, the class I am trying to run contains a public static void main(), does anyone know what's going on here?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2008
Added on Jul 28 2008
6 comments
251 views