Running Example Programs

This chapter provides step-by-step instructions of writing a Java program using a text editor, and then compiling and running this program from command prompt. Several Integrated Development Environments (IDEs) are mentioned in this chapter. We have already installed NetBeans. That and Eclipse are the most popular in Java professional practice.

3. Step 1: Start Windows Explorer


Start Explorer by clicking on the folder icon in the taskbar at the bottom of the screen.

Step 1: Start Windows Explorer

Left-click on the little folder icon. File Explorer should start up.

(Alternative: click on the window icon at the very bottom left and look for the File Explorer icon.)


Exactly what you see depends on what you have previously done with Explorer. If you last used Explorer with the folder you use for programs, it will start up showing that folder.

You may see something like the above. You will have to "navigate" to the disk folder that holds your Java programs.

Click on various icons until you see the root (the top) of your hard disk.

Question 4:

What is the name of your hard disk?