[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
Java Application
What is a Java application?
A Java application, unlike most applications, is compiled into bytecode which is interpreted by the Java interpreter. Most applications are compiled into machine code, which the CPU can interpret directly.
Unlike an Java applet, an application is not meant to be run from a web browser or other container-like program; it is stand-alone, except that for the interpreter, which is used to allow the Java application to run on different system architectures (Win32, Linux, Solaris, etc.)
How is a Java application made?
A Java application typically starts in the primary class, in a method called main:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
Java Application
What is a Java application?
A Java application, unlike most applications, is compiled into bytecode which is interpreted by the Java interpreter. Most applications are compiled into machine code, which the CPU can interpret directly.
Unlike an Java applet, an application is not meant to be run from a web browser or other container-like program; it is stand-alone, except that for the interpreter, which is used to allow the Java application to run on different system architectures (Win32, Linux, Solaris, etc.)
How is a Java application made?
A Java application typically starts in the primary class, in a method called main:
public class this_is_a_class {
public static void main(String inputs[]) {
//Program starts in here
}
}
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
