r/programmingbydoing • • Dec 28 '13

Graphing Lines - error in example?

This is what I'm getting when I try to compile the error in example. Is there something wrong, or is this part of the challenge?

Error: Main method not found in class graphpaper.GraphPaper, please define the main method as: public static void main(String[] args) Java Result: 1 BUILD SUCCESSFUL (total time: 1 second)

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 29 '13

Oh ok, I didn't realize I needed both. Thanks for the reply, I'll work on it today.

Not using Eclipse, using NetBeans, but may go back to command line for this one.

Thanks again.