I am trying to run a snake game program I designed in java on eclipse and I keep getting this notification
whenever I try to run the game or test classes
"Launch error - editor does not contain a main type"
It is all in an eclipse java project called practice 1, in this project there is the JRE system library, src, classes, and gifs.
All my classes and text files with game info are in the folder classes and all images for the game are in folder gifs, src is empty. I would appreciate knowing how to stop getting this launch error so i can run my program, thanks!
This is not complicated, why would it throw this error? I believe image files need to be under the root directory.
Assuming your class has a public static void main function, I would assume it has to do... View the full answer