This web site contains a number of links to Java programs that were
covered in lectures. These links are typically labelled with the
jar. On this web page, I explain how to
take copies of these files.
Click on the hyperlink using your mouse's right button.
A menu should appear and one of the options on the menu will be
Save. Use this to save the file in some suitable
part of your home directory.
jar. To extract the files, we again use
Suppose the file is called
To extract its contents, type the following:
jar xf lect4.jar
If you now list your current directory, you should find new files or
directories. In this example, you'll find a new directory called
lect4code. The Java program is in this subdirectory.
There are many more sophisticated things you can do with
If you want to know about them, consult our
local copy of the Java tools reference page.
agentDemonstrator.jar) and another directory that gets created called