Odd problem with Dr. Java.

1 view
Skip to first unread message

Ryan Hart

unread,
Oct 15, 2009, 7:04:52 PM10/15/09
to ccc_bit_1...@googlegroups.com
Hey, know you recommended that we all use jGRASP because that's what you know how to use, but I've been having problems with Dr. Java in that it compiles fine. It just gives me this error message when I try to run it:

"Static Error: No static method in RobotThatGoes with name 'main' accepts arguments (String[])"

Funny thing is, I went back and tried some of our assignment 1 java files and it compiled and ran fine.

It's not a problem with the newer java files because it compiles and runs fine in jGRASP.

I do have becker.jar in the classpath settings.

I can just use jGRASP but I want to find out what the cause of this problem is and learn something from it.

Ryan Hart

unread,
Oct 15, 2009, 7:12:33 PM10/15/09
to ccc_bit_1...@googlegroups.com
Ah! If I would have spend one more minute looking, I would have found this before I send the last email that was about this.

I narrowed down the problem, and the error is only happening with the .java files extra classes before the main. Any idea how I could fix that?
Reply all
Reply to author
Forward
0 new messages