Sams Teach Yourself Java 2 in 24 Hours

Sams Teach Yourself Java 2 in 24 Hours

By Rogers Cadenhead

Appendix B. Using the Java 2 Software Development Kit

When the Java programming language was introduced to the public in 1995, Sun Microsystems also made available a free tool to develop Java programs: the Java 2 Software Development Kit.

The Software Development Kit is a set of command-line programs that are used to create, compile, and run Java programs. Every new release of Java is accompanied by a new release of the development kit—the current version is Java 2 SDK version 1.4.

Although more sophisticated Java programming tools are now available, such as Borland JBuilder, IntelliJ IDEA, and Sun ONE Studio, many programmers continue to use the Software Development Kit. I've been using it as my primary Java programming tool for years.

This appendix covers how to download and install the Software Development Kit, set it up on your computer, and use it to create, compile, and run a simple Java program. It also describes how to correct the most common cause of problems for a beginning Java programmer—a misconfigured Software Development Kit. The material that follows is primarily focused on Windows, because each Windows operating system can be ornery in regard to the kit.

Share ThisShare This

Informit Network