1. Home
  2. Computing & Technology
  3. Java

Building Your First Java Applet

By , About.com Guide

6 of 10

Change the Directory

Change Directory

Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation.

Navigate to where the FirstApplet.java file is saved. I’ve saved my file in the location “C:\Documents and Settings\Paul\My Documents\Java\Applets”.

To change the directory in the terminal window, type in the command:

cd *directory where FirstApplet.java file is saved*
E.g.,
cd C:\Documents and Settings\Paul\My Documents\Java\Applets

You can tell if you’re at the right directory by looking to the left of the cursor.

Explore Java
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Tutorials
  5. Change the Directory

©2009 About.com, a part of The New York Times Company.

All rights reserved.