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

Finding the Command Line

Note: This tutorial covers how to start using the Java Development Kit on a Windows system and fix any problems that prevent it from working correctly. If you haven't installed the JDK yet, you should do so before reading this.

The Java Development Kit requires the use of a command line to compile Java programs, run them, and handle other tasks. Using a command line, you can operate a computer entirely by typing commands at your keyboard.

Very few programs designed for Windows users require the command line today. To get to a command line on a Windows XP system, click the Start button, choose All Programs, choose Accessories, then click Command Prompt (as shown below):

Get a Command Line

To get to a command line on other Windows systems, click the Start button, choose Programs, then click MS-DOS Prompt (as shown below):

Get a Command Line

After you click MS-DOS Prompt, a new window will open where you can type commands.

To see what this window looks like, 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!