Eclipse can be a problem for beginners.

See the tutorial for another way: "Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)