Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

I can't run my java program in eclipse. It keeps saying "The selection cannot be launched, and there are no recent launches" . Instead of clicking the green arrow button, I tried using the "Run As..." but it says "none". How to run it? Is it possible to run it without the "Main" class?

OpenStudy (anonymous):

@e.mccormick any ideas?

OpenStudy (anonymous):

oh maybe it is not running because I'm not using the main .-.

OpenStudy (e.mccormick):

You must define the insertion point somewhere within the program.

OpenStudy (anonymous):

oh I see! lol thanks !

OpenStudy (e.mccormick):

The easiest way is, yes, to use the main. Now, there are ways to use other things that relate to it... but for basic Java programs, main is the best way to define an insertion point.

OpenStudy (anonymous):

okay, thank you so much :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!