|
網誌存檔
熱門網志
|
|
|
Using JAR-related APIs The JavaTM platform contains several classes for use with JAR files. Some of these APIs are: An Example - The JarRunner ApplicationJarRunner enables you to run an application that`s bundled in a JAR file by specifying the JAR file`s URL on the command line. For example, if an application called TargetApp were bundled in a JAR file at http://www.xxx.yyy/TargetApp.jar, you could run the application using this command:In order for JarRunner to work, it must be able to perform the following tasks, all of which are accomplished by using the new APIs:java JarRunner http://www.xxx.yyy/TargetApp.jar |
-------------------------------------------------
| 上一篇:The JarRunner Class | 下一篇:JAR File Overview |

