Java   View all facts   Glossary   Help
Java program > standalone program
Next Java programapplet    UpJava program    Previous Java programsimple program   

standalone program
subjectfact 
standalone programis a subtopic of How Java Works2001-10-19 11:37:57.0
is started by the Java virtual machine performing the computations in the main methodadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
is a kind of Java programadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
must contain a class that defines a main methodadded by: JK, source: On To Java, 2001-10-19 11:37:57.0
Java programcan be compiled on any platform that has a Java compiler    2001-10-19 11:37:09.0
can be run on any implementation of the Java Virtual Machine specification    2001-10-19 11:37:09.0
has 0 or 1 name2001-10-19 11:37:09.0
is portable because it is compiled into bytecode that can run on any computer with a Java Virtual Machine    2001-10-19 11:37:09.0
is usually slower than native code2001-10-19 11:37:09.0
is executed by a Java Virtual Machine2001-10-19 11:37:09.0
must be readable by humans2001-10-19 11:37:09.0
runs on a Java platform2001-10-19 11:37:09.0
should follow consistent guidelines that make the program easy to read2001-10-19 11:37:09.0
to run you type java and the class file name on the command line2001-10-19 11:37:09.0
to run you may need platform-specific instructions2001-10-19 11:37:09.0