码家

Web Platform, Cloud and Mobile Application Development

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

Chapter 2

THE JAVA
PROGRAMMING
ENVIRONMENT

▼ INSTALLING THE JAVA DEVELOPMENT KIT
▼ CHOOSING A DEVELOPMENT ENVIRONMENT
▼ USING THE COMMAND-LINE TOOLS
▼ USING AN INTEGRATED DEVELOPMENT ENVIRONMENT
▼ RUNNING A GRAPHICAL APPLICATION
▼ BUILDING AND RUNNING APPLETS

第二章 Java程序设计环境

安装Java开发工具箱             使用集成开发环境

选择开发环境               运行图形化应用程序

使用命令行工具              建立并运行applet

In this chapter, you will learn how to install the Java Development Kit (JDK) and how to compile and run various types of programs: console programs, graphical applications, and applets. You run the JDK 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. Although easier to learn, integrated development environments can be resource-hungry and tedious to use for small programs. As a middle ground, we show you how to use a text editor that can call the Java compiler and run Java programs. 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.

本章主要介绍如何安装Java开发工具箱(JDK)以及如何编译和运行各种类型的程序:控制台程序、图形化应用程序以及applet应用程序。运行JDK的方法是在shell窗口中键入命令行。然而,很多程序员更喜欢使用集成开发环境。为此,将在稍后介绍如何使用免费的开发环境编译和运行Java程序。尽管学起来很容易,但集成开发环境需要吞噬大量资源,在编写小型程序时会给人带来烦恼。作为折中方案,再介绍一下如何调用Java编译器并运行Java程序的文本编辑器。一旦掌握了本章的技术,并选定了自己的开发工具,就可以学习第3章,开始研究Java程序设计语言。

posted on 2011-05-25 07:56  海山  阅读(132)  评论(0)    收藏  举报