Object oriented language (i.e., classes which contain data and methods)
similar to C++. However, some dangerous C++ constructs are removed
(pointers, memory allocation/deallocation, multiple inheritance, operator
Java is platform independent (write once, run anywhere [where Java runs]).
- Compile Java source code to a bytecode:
which will produce a class file MyJavaThing.class
with bytecode. Bytecode can be executed on any Java supported platform.
Compiler javac is available free from Sun Microsystems
Web site: http://www.javasoft.com as a part of J2SDK (Java 2 Software
- Execute the bytecode with the Java Virtual Machine
JVM (java) comes as a part of Java Runtime Environment
(JRE). If your class was an applet or a servelet, you need to execute it
with another tool (browser, or applet viewer, in case of applet, and the
servlet container, in case of servlets).