![]() |
|
||||||||||||
![]() | |||||||||||||
|
Call Us Toll-Free (877) 256-0328 Outside USA 1 - (201) 505-0430
|
Trail: Deployment
Lesson: Packaging Programs in JAR Files Section: Using JAR Files: The Basics Running JAR-Packaged Software
Home Page
>
Deployment
>
Packaging Programs in JAR Files
Running JAR-Packaged Software
Now that you've learned how to create JAR files, how do you actually run the code that you've packaged? Consider these three scenarios: Applets Packaged in JAR FilesTo invoke any applet from an HTML file for running inside a browser, you need to use the APPLET tag. For more information, see the Applets lesson. If the applet is bundled as a JAR file, the only thing you need to do differently is to use the ARCHIVE parameter to specify the relative path to the JAR file. JAR Files as ApplicationsYou can run JAR-packaged applications with the Java interpreter. The basic command is:The -jar flag tells the interpreter that the application is packaged in the JAR file format. You can only specify one JAR file, which must contain all the application-specific code.java -jar jar-file
Previous page: Updating a JAR File
Next page: Working with Manifest Files: The Basics |
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP at JSP.aldenWEBhosting.com
Servlets at servlets.aldenWEBhosting.com
Tomcat at Tomcat.aldenWEBhosting.com
mysql at mysql.aldenWEBhosting.com
Java at Java.aldenWEBhosting.com
Web Hosts Portal
Web Links
Web Links
Web Hosting
JSP Solutions Web Links
JSP Solutions Web Hosting
Servlets Solutions Web Links
Servlets Solutions Web Hosting
Web Links
Web Links
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
jsp hosting
servlets hosting
web hosting
web sites designed
cheap web hosting
web site hosting
myspace web hosting