Core Java™ 2: Volume I - Fundamentals By Cay S. Horstmann, Gary Cornell
Table of Contents
INSTALLING THE JAVA SOFTWARE DEVELOPMENT KIT
DEVELOPMENT ENVIRONMENTS
USING THE COMMAND LINE TOOLS
USING AN INTEGRATED DEVELOPMENT ENVIRONMENT
COMPILING AND RUNNING PROGRAMS FROM A TEXT EDITOR
GRAPHICAL APPLICATIONS
APPLETS
In this chapter, you will learn how to install the Java Software Development Kit (SDK) and how to compile and run various types of programs: console programs, graphical applications, and applets. You run the SDK tools by typing commands in a shell window. However, many programmers prefer the comfort of an integrated development environment. We show you how to use a freely available development environment to compile and run Java programs. While easier to learn and use, integrated development environments take a long time to load and require heavy resources. As a middle ground, you may want to use a text editor that can call the Java compiler and interpreter. We show you a couple of text editors with Java integration. Once you have mastered the techniques in this chapter and picked your development tools, you are ready to move on to Chapter 3, where you will begin exploring the Java programming language.