Running Example Programs (JAR Files)


To make it easier to understand assignments, you will sometimes be provided with a program that you can run yourself.  This gives you an idea of what the program should look like.

Windows XP

1. Download the JAR file for the program.
2. Save the files on your D: drive (not in a folder - just D:\).
3. From the Windows Start menu, choose "Run".

4. Type "command" or "cmd" and press <Enter> to open a terminal window.

 

 

5. In the terminal, type "d:" and press <Enter> (or whatever the letter is for your available drive - in this example, I use "k:").

6. In the terminal, type "java -jar application.jar", where you replace application with the name of the file(s) you downloaded.