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

Using an MS-DOS Prompt

The command line in Windows is called the MS-DOS Prompt because it uses MS-DOS, the Microsoft operating system that preceded Windows. MS-DOS supports all of the same functions as Windows -- copying, moving and deleting files and folders; running programs; scanning and repairing a hard drive; formatting a floppy disk; and so on.

When you click Start, Programs, MS-DOS Prompt in Windows, a new window opens where you can use MS-DOS commands (as shown below):

The MS-DOS Prompt window

In the above figure, C:\WINDOWS> is the command line. A cursor will blink on the command line when MS-DOS is ready for you to type in a new command with your keyboard.

Because MS-DOS can be used to delete files and even format your hard drive, you should learn something about the operating system before experimenting with its commands. One good book is Dan Gookin's DOS for Dummies, the book that sparked the whole Dummies line of self-help books.

However, you only need to know a few things about MS-DOS to use the Java Development Kit -- how to create a folder, how to open a folder, and how to run a program.

To learn how to open a folder in MS-DOS, 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!