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:)

3 comments
Comment actions Permalink

Hello anarchypower,

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...


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!"


0
Comment actions Permalink

Thank you very much...:D

0
Comment actions Permalink

I forgot to check the: "Yes, my question has been answered." :D

0

Please sign in to leave a comment.