junit.jar problem
Dear members of this community,
I am a Java programming beginner. I'm trying to program for school and we have to use IntelliJ. I've always used Eclipse and I know how it works. But now I started with IntelliJ and I can't even execute a program...I keep having this error when I press the Start (or run) button:
here's the screenshot => http://i186.photobucket.com/albums/x60/anarchypower/junitjar.jpg
Would it be possible to tell me what I'm doing wrong?:s It might be something stupid...
Bye:)
请先登录再写评论。
Hello anarchypower,
You are trying to run a class which is not runnable. You'll need to define
the main() method in your class, and create a run configuration of type "Application"
rather than "JUnit".
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thank you very much...:D
I forgot to check the: "Yes, my question has been answered." :D