Compiling the application

To compile our application we need to include the following JARs on our classpath:

Were we to write a more complex application we might of course need more JARs.

We compile the whole into a single JAR file which we name skeleton2.jar. We can optionally include a manifest with a line like this:


jar-label: skeleton2

This labels the JAR for SAS, giving it a handy way of referencing it in future. If we omit this then it will take the JAR's filename as a label instead. However, giving a JAR label explictly is a good way of ensuring it gets a helpful name we know about. JARs with the same label are considered to be the same JAR, although a JAR hash code is used to double-check, and helps prevent Jtrix fetching JARs it already has. See also Section [*].

Nik Silver 2002-03-09