Documentation

The Java™ Tutorials
Hide TOC
The "Hello World!" Application“Hello World!”应用程序
Trail: Getting Started

Lesson: The "Hello World!" Application课程:“Hello World!”应用程序

The sections listed below provide detailed instructions for compiling and running a simple "Hello World!" application.下面列出的部分提供了编译和运行简单的“Hello World!”的详细说明应用。The first section provides information on getting started with the NetBeans IDE, an integrated development environment that greatly simplifies the software development process.第一部分提供了有关开始使用NetBeans IDE的信息,NetBeans IDE是一个集成开发环境,可大大简化软件开发过程。The NetBeans IDE runs on all of the platforms listed below.NetBeans IDE在下面列出的所有平台上运行。The remaining sections provide platform-specific instructions for getting started without an integrated development environment.剩下的部分提供了在没有集成开发环境的情况下入门的特定于平台的说明。If you run into problems, be sure to consult the common problems section; it provides solutions for many issues encountered by new users.如果遇到问题,请务必查阅“常见问题”部分;它为新用户遇到的许多问题提供了解决方案。

"Hello World!" for the NetBeans IDE适用于NetBeans IDE的“Hello World!” These instructions are for users of the NetBeans IDE.这些说明适用于NetBeans IDE的用户。The NetBeans IDE runs on the Java platform, which means that you can use it with any operating system for which there is a JDK 7 available.NetBeans IDE在Java平台上运行,这意味着您可以将其用于任何JDK 7可用的操作系统。These operating systems include Microsoft Windows, Solaris OS, Linux, and Mac OS X.这些操作系统包括Microsoft Windows、Solaris OS、Linux和Mac OS X。We recommend using the NetBeans IDE instead of the command line whenever possible.我们建议尽可能使用NetBeans IDE而不是命令行。

"Hello World!" for Microsoft Windows适用于Microsoft Windows的“Hello World!” These command-line instructions are for users of Windows XP Professional, Windows XP Home, Windows Server 2003, Windows 2000 Professional, and Windows Vista.这些命令行说明适用于Windows XP Professional、Windows XP Home、Windows Server 2003、Windows 2000 Professional和Windows Vista的用户。

"Hello World!" for Solaris OS, Linux, and Mac OS X适用于Solaris OS、Linux和Mac OS X的“Hello World!” These command-line instructions are for users of Solaris OS, Linux, and Mac OS X.这些命令行说明适用于Solaris OS、Linux和Mac OS X的用户。Common Problems (and Their Solutions)常见问题(及其解决方案) Consult this page if you have problems compiling or running your application.如果在编译或运行应用程序时遇到问题,请参阅本页。


Previous page: Previous Lesson
Next page: "Hello World!" for the NetBeans IDE