Tutorial by Examples

To make a jar, you need one or more class files. This should have a main method if it is to be run by a double click. For this example, we will use: import javax.swing.*; import java.awt.Container; public class HelloWorld { public static void main(String[] args) { JFrame f = ne...
The JAR, WAR and EAR files types are fundamentally ZIP files with a "manifest" file and (for WAR and EAR files) a particular internal directory / file structure. The recommended way to create these files is to use a Java-specific build tool which "understands" the requirements f...
The Oracle Java Tutorials summarize Web Start as follows: Java Web Start software provides the power to launch full-featured applications with a single click. Users can download and launch applications, such as a complete spreadsheet program or an Internet chat client, without going through lengt...
A common requirement for a Java application is that can be deployed by copying a single file. For simple applications that depend only on the standard Java SE class libraries, this requirement is satisfied by creating a JAR file containing all of the (compiled) application classes. Things are not ...

Page 1 of 1