Java is an object-oriented language created by Sun. It has several 'versions' - enterprise edition (J2EE), standard edition (J2SE) and mobile edition (J2ME). Java is bytecode-compiled. To create and use a java program, a source code file must first be compiled (the javac binary from sun) and then run through an interpreter (the java binary from sun). The interpreter is often a JustInTimeCompiler. You will often see the interpreter referred to as a "Virtual machine" (or VM), which is just fancy-talk for "interpreter".

The Good

The Bad

Hello World

{{{ public class Hworld {

To run it, run javac on your Hworld.java file then execute "java Hworld" in the same directory. That will attempt to execute the Hworld.class file.

JavaLanguage (last edited 2008-07-09 05:48:10 by localhost)