Sams Teach Yourself Java 6 in 21 Days
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / THANKS
ROGERS CADENHEAD

Using the JDK on a Windows System

Creating a Folder

To create a folder from an MS-DOS Prompt, type the command MD followed by the name of the folder and press Enter, such as this example:

  • MD C:\STUFF

The STUFF folder will be created in the root folder of the system's C: drive. To open a newly created folder, use the CD command followed by its name, as shown below:

Creating a new folder

My book recommends creating a J21work folder where you can do all of your Java-related work. If you haven't already done this within Windows, you can do it from an MS-DOS Prompt:

  • Change to the root folder (using the CD \ command)
  • Type the command MD J21work and press Enter

Once J21work has been created, you can go to it at any time from an MS-DOS Prompt by using the CD \J21work command.

The last thing you need to learn about MS-DOS for the Java Development Kit is how to run programs.

To do this, continue to the next page.

HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / THANKS

Search terms used to find this page: Java programming, teach yourself, 21 days, how to, learn, Sams, Pearson, Macmillan, Java 6, JDK 6, Java6, JDK1.6, Java 1.6, JDK 1.6, SDK1.6, Java 6 SDK 1.6, SDK 1.6, Java 6 version 1.6, Java 6 SDK, Java SDK, Rogers Cadenhead, Laura Lemay, tutorial, hands-on, source code, code, javac, java, application, appletviewer, help, learning, applet, servlet, servlets, JSP, Swing, GUI, interface, XML, JavaSound, Java2D, JDBC, JavaBeans, object serialization, IO, Tomcat, Apache, Java API for XML Parsing, Java API for XML Processing, XML-RPC, XOM, Web services, regular expressions, regex, java.nio, buffers, channels

Valid HTML 4.01!

Valid CSS!