Creating a Directory
First you must create a directory to hold your application. Begin by opening a Command Prompt window. Make sure that you are on your C: drive, or whatever hard drive you wish to use. Do this by simply entering:
c:
Now create a directory to hold your projects:
md \JavaProjects
Now move into your new directory.
cd \JavaProjects
Then create a subdirectory for each chapter, such as:
md chapter1 md chapter2
Now enter chapter 2’s directory:
cd chapter2
If done correctly you should now see Figure 2.19.
Figure 2.19: Create a Place to Put your First Application

Now that you have a directory to hold your application, you must enter your application.




