410 Object-Based Programming Chapter 8 ual file.] It is important that the directory structure in the JAR file match the directory structure for the packaged classes. Therefore, we executed the jarcommand from the directory in which com is located. To confirm that the files were archived directly, you can issue the command jar tvf TimeTest5.jar which produces the listing in Fig. 8.10. In the preceding command, the options for the jar utility are tvf. The letter t indicates that the table of contents for the JAR should be listed. The letter v indicates that the output should be verbose (the verbose output includes the file size in bytes and the date and time each file was created, in addition to the directory structure and file name). The letter f specifies that the next argument on the command line is the JAR file to use. The only remaining issue is to specify the archive as part of the applet s HTML file. In prior examples,
This entry was posted
on Friday, May 4th, 2007 at 7:02 am and is filed under J2EE.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.