| < Day Day Up > |
|
Although Java is an interpreted language, it is commonly compiled into bytecodes that are then interpreted by the Java Virtual Machine (or JVM). A number of JVM implementations exist; the examples shown here were tested in the Blackdown JVM for Linux. Sun Microsystems provides freely usable JVMs and JREs (Java Runtime Environments). The version of Java used in this chapter (and Chapter 17, Network Code Patterns in Java) is 1.2 (otherwise known as Java 2 Platform).
The Java Virtual Machine operates on Linux and native-Windows (or Windows using the Cygwin environment), in addition to many other environments. Java includes its own threading model and, therefore, provides multithreading capabilities that are transparent to the underlying operating system.
Note | The sample code patterns presented here (and in Chapter 17) and on the CD-ROM will execute on any of the supported environments. |
Java is bundled with its own networking APIs; therefore, no other downloads are necessary for the Sockets API.
The Java tools may be downloaded at the source, http://java.sun.com (under “Download”), or may be downloaded for Linux at http://www.blackdown.org.
| < Day Day Up > |
|