|
STEP 3: Create and execute a
Java application
|
2. Right-click on the C:\Documents and Settings\ choose New -> Java Class

3. Change the <default> name to Hello, click Finish, see there is a new Java Class named Hello under Filesystems.
4. Remove the default codes, and then copy and paste the following code:
public class Hello
{
public static void main(String[] args)
{
System.out.println("Hello, World!");
}
}
5. Right-click on the node Hello to compile it, and then execute it, you will see Hello, World! displays in the Output window
