QUOTE(Locke37 @ 11 Jun, 2008 - 10:24 AM)

Ok, so when I tried to run my first TINY (as in, 1 line of code which is a println() statement), I got this error that says...
QUOTE
Selection does not contain a main type.
In case anyone wants to look at my code...here it is, although if I don't get this right, I should start looking for a new objective in life.
java
// Test.java
// this is just a test to see if enerything is set up properly.
public class Test
{
public static void main(String args[])
{
System.out.println("Eclipse is working!");
}
}
even i was having the same problem do the following thing
start eclipse
and then click on the help
then click on welcome
and then click on tuitorial
and then
create hello world application
and then follow the step
this should solve the problem
one more thing make sure that ur main class file name and that file name is same then one that contains mainmethod
and ya for running go to package explorer where it lists all files
in that right click and then run as application and then java application and then ok
if jdk is proper everything should go fine and if ur jdk is not ok check this post
heredownload the one that mashero posted without beta 10
and then it should work