Eclipse IDE's Hello World Cheatsheet seems to have a mistake

Posted by Sean on Stack Overflow See other posts from Stack Overflow or by Sean
Published on 2010-04-05T03:06:06Z Indexed on 2010/04/05 3:13 UTC
Read the original article Hit count: 450

Filed under:
|
|
|

Hey guys,

Just a warning: I'm completely new to Java and am trying to teach myself Android programming.

I installed the Eclipse IDE today and tried to walk through the first Java Hello World "cheat sheet," and it didn't work! I was really quite surprised.

When it asked me to select the checkbox to create the main() method, there wasn't anything on-screen that looked like a checkbox with "main()" or "method" next to it, so I guessed that maybe what they meant was the "Modifiers" radio button. So I left that checked for "public."

It didn't compile and I got red X's next to every folder in my Package Explorer.

Has anybody else had this problem?

Thanks!

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse