Now you have arrived in beginner's, welcome ( ) and read these sections of the Java Tutorials, noting the "common problems" section for when things go wrong. I presume you have got the JDK installed already.
Joined: Oct 13, 2005
In addition to what the Tutorials say: it is probably a good idea to make a "java" folder somewhere and keep your programs in that. Notepad isn't very good for programming; Notepad++ and Notepad2 are much better.